migrating all to remix
I have a shopify gadget app on react live, what's the best way to migrate it to remix?
8 Replies
Take a look at these docs: https://docs.gadget.dev/guides/frontend/remix-in-gadget#migrate-from-react-router-to-remix
Remix In Gadget - Developer Docs - Gadget
Gadget Docs
does moving to remix or typescript from react js help in improving app web vitals? Also will it effect resource usage since remix uses server side rendering?
I would personally recommend React Router v7 in framework ssr mode if you're looking at optimizing your application as much as possible
Doing the switch to v7 would be pretty much the same as a migration to Remix but you don't have to switch all the packages that you use
oh can you lead me to the documentation on how to do that?
and again should I move from js to ts?
JS to TS does't matter. It's developer preference. It can make it easier to find bugs though.
Here's the react router documentation: https://reactrouter.com/start/framework/installation
oh and what about the burden on the sever?
will it cause a sizable dent in my hosting costs?
Not at all. It should be the same or negligible
alright thanks a ton