![]() I will create a fresh new application using the latest tooling and then copy over code bit by bit (making modifications as required) until my application works on the new version. Whenever dealing with a major version upgrade, I prefer to take the "from scratch" approach and port existing apps over, rather than trying to upgrade existing apps. If you need more general background information about Ionic 4, you should also check out my Ionic 4 Migration Survival Guide. However, make sure you also check out the official migration guide. It has been working well for me, and maybe it will suit you too. This article will just be covering the method that I have been using to upgrade my applications from Ionic 3 to Ionic 4. You would also need to take into consideration how familiar you are with the changes required for Ionic 4 and Angular 6 – if you need to spend some time figuring out what changes are required it's going to add to this time estimate as well. If you intend to switch to using the Angular router (which is recommended) you could probably double that estimate. The amount of time it takes to upgrade is going to depend a lot on your application, but I would estimate for most people it would take on average anywhere from 1 hour to 8 hours to upgrade most applications. I've been playing around with the Ionic 4 alpha for a while now, and have upgraded around 10 applications of varying sizes from Ionic 3 to Ionic 4. However, this doesn't mean that the upgrade process is going to be as quick and simple as updating a few dependencies and tweaking a few things here and there. Most of your code will be able to remain as is, with some minor syntax changes due to the upgrade to Angular 6 and the web component approach in Ionic 4. ![]() For a major version upgrade, the transition from Ionic 3 to Ionic 4 is going to be relatively minor.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |