nuclearspike / kivalens

KivaLens refresh. Using webpack and function/hook components in React
MIT License
1 stars 0 forks source link

Upgrade to React 18 #4

Open jfoo1984 opened 2 years ago

jfoo1984 commented 2 years ago

https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html

Render API updates

Server rendering updates

nuclearspike commented 2 years ago

In other projects, the biggest hindrance to upgrading is other packages not having support for it yet. I'd be pleasantly surprised if there are no issues.

nuclearspike commented 2 years ago

Some good news, https://github.com/kriasoft/react-starter-kit/blob/main/package.json

KivaLens is built off of the react-starter-kit and even though they aren't doing more dev, they are supporting react 17 as well as webpack 5. So, we can use their changes. I forked from that and have a kivalens-template that this repo forked from so we'd need to update the intermediate repo.

jfoo1984 commented 2 years ago

Nice! Looks like they are up to webpack 5 and have Typescript too if we want to go that route.

If they’re no longer developing that, any concerns about future upgrade and whether we need to switch to something else?