feat: upgrade conference app to Ionic 7#114
Conversation
Migrates to Vite, latest React, swiper element and Ionic 7.
liamdebeasi
left a comment
There was a problem hiding this comment.
Migrated from swiper@7 to swiper@9, includes moving to the Swiper Element web component
The Slides migration guide (https://ionicframework.com/docs/react/slides) recommends sticking with the Swiper React component for now. We might want to hold off on Swiper Element in React until nolimits4web/swiper#6466 is merged.
|
Updated to use CSS scrolling snapping. Following the style/implementation that is being implemented for the Angular conference app: ionic-team/ionic-conference-app#1790 |
There was a problem hiding this comment.
Differences from Angular
I noticed that the react conference app behaves differently than the angular version in certain cases. Maybe we can make a tech debt ticket for these if we don't want to update them now?
ionic-conference-app -> shows toast when favoriting
ionic-react-conference-app -> shows alert when favoriting
The alert text when you attempt to remove a favorite or add a favorite that already exists is also different:
It also does not close the open sliding item when switching between all & favorites.
Login Bugs
When logging in (Login page) after I enter name & password and click "Login" it tells me "Password is required" until I press login again. I think this is related to the ionChange Liam mentioned. Support & Signup do the same thing.
The app is continuously freezing when I click on Logout:
I have to kill the tab and open a new one, refresh doesn't work.
Google rolled back the issue
Aligns the implementation to the Angular conference app.
|
Ok - I addressed all of the requested changes and differences in behavior we've acknowledge so far with the React and Angular conference apps (there is likely more). |
|
All the fixes look good! Just found two missed |
|
Thank you for catching that! |


This PR updates the React Conference app to the "latest", including Ionic Framework v7, React v18, Vite, Swiper 9 (using Swiper Element) and fixes bugs related to the app.
All changes:
react-scripts@3tovitenpm run starttonpm run devto reduce churnreact@17andreact-dom@17toreact@18andreact-dom@18PropsWithChildrenwhere appropriateswiper@7to using CSS scroll snappinglabelandlabel-placementResolves: #72, #95, #50
How did I test this
Other information
This PR includes the work done in #104.