iTwin / viewer

Monorepo that contains the iTwin Viewer npm packages and their related packages
MIT License
25 stars 16 forks source link

[Desktop] [Web] Update templates to react 18 #287

Open Jake-Screen opened 1 year ago

Jake-Screen commented 1 year ago

Updating desktop and web templates to react 18 and change to using createRoot to render applications

Jake-Screen commented 1 year ago

Tested desktop and web viewer templates with these changes. The resizeObserver loop error no longer occurs with this update.

aruniverse commented 1 year ago

@ben-polinsky is right that i would consider this a minor change in the template as well idk if we need this pr atm / if we want to start pushing everyone to start using react 18 just yet