What version of Ionic is recommended? I see from bug report on GitHub that there are some bugs with Standalone Ionic Components. I personally encountred one of them. Should I still prefer Ionic Modules than Standalone Ionic Componente for my app?
Ionic 7
What bug report? What bug you encountered? stand alone components are working fine in ionic 7.
Just open Issues · ionic-team/ionic-framework · GitHub and Ctrl+F “standalone”. You will find 3 bugs.
Personally, I encountred this one, when upgrading to standalone components. It is alredy closed, but I have a doubt now about upgrade to Standalone components.
opened 08:28PM - 26 Oct 23 UTC
closed 10:15PM - 26 Oct 23 UTC
triage
### Prerequisites
- [X] I have read the [Contributing Guidelines](https://git… hub.com/ionic-team/ionic-framework/blob/main/.github/CONTRIBUTING.md#creating-an-issue).
- [X] I agree to follow the [Code of Conduct](https://ionicframework.com/code-of-conduct).
- [X] I have searched for [existing issues](https://github.com/ionic-team/ionic-framework/issues) that already report this problem, without success.
### Ionic Framework Version
v7.x
### Current Behavior
Error message when a page contains more than one `ion-input` using standalone import:
`TypeError: Cannot redefine property: accept`
<img width="573" alt="Skjermbilde 2023-10-26 kl 22 24 43" src="https://github.com/ionic-team/ionic-framework/assets/20300035/81baf677-518b-42b9-ac86-2ed1c1df93ae">
### Expected Behavior
No errors
### Steps to Reproduce
1. Make an ionic-angular starter app with standalone APIs (` ionic start photo-gallery tabs --type=angular --capacitor`)
2. Import `IonInput` on of the generated pages and define two inputs in the template , e.g
```
<ion-input label="foo"></ion-input>
<ion-input label="foobar"></ion-input>
```
3. Observe that the error occurs in the console
### Code Reproduction URL
_No response_
### Ionic Info
Ionic:
Ionic CLI : 7.1.1
Ionic Framework : @ionic/angular 7.5.2
@angular-devkit/build-angular : 16.2.8
@angular-devkit/schematics : 16.2.8
@angular/cli : 16.2.8
@ionic/angular-toolkit : 9.0.0
Capacitor:
Capacitor CLI : 5.5.1
@capacitor/android : not installed
@capacitor/core : 5.5.1
@capacitor/ios : not installed
Utility:
cordova-res : 0.15.4
native-run : 1.7.4
System:
NodeJS : v18.17.1
npm : 9.6.7
OS : macOS Unknown
### Additional Information
_No response_
van9petryk:
Just open Issues · ionic-team/ionic-framework · GitHub and Ctrl+F “standalone”. You will find 3 bugs.
The choice between Ionic Modules and Standalone Ionic Components depends on your project’s requirements and the version of Ionic. Check if the bugs you encountered are resolved in the recommended Ionic version. If you need complete functionality and the issues are fixed, go with Modules. For more control, opt for Standalone Components. Stay updated with Ionic’s evolution. And if you are looking for an online essay writer then you can check here where you will find reviews for an online essay writing service. I am not so good at choosing the best essay writer and that is why I always use that website link to find the best essay writer.
Personally, I encountred this one, when upgrading to standalone components. It is alredy closed, but I have a doubt now about upgrade to Standalone components.
bug: error when defining more than two `ion-input`s using standalone api · Issue #28424 · ionic-team/ionic-framework · GitHub
The choice between Ionic Modules and Standalone Ionic Components depends on your project’s requirements and the version of Ionic. Check if the bugs you encountered are resolved in the recommended Ionic version. If you need complete functionality and the issues are fixed, go with Modules. For more control, opt for Standalone Components. Stay updated with Ionic’s evolution.