Replies: 1 comment 1 reply
-
Yeah mechanically you can use something similar to what I did in https://stackblitz.com/edit/hr-meheraj-vite-react-rr54iq?file=src%2Freactify.jsx. Like basically can just take this reactify function but bundling would take a bit of work. In webpack you could probably setup some rules based on directory for what to transform. Maybe a 2 pass build process that converts Solid first, and then bundle it into the React project. I'm not sure. You are right though if we can solve bundling then this is very doable. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Solid is outperforming React, but our React project is huge to consider refactoring it to Solid with a whole peace. Is there any relevant way to embed Solid inside React app so migration could be partial like page by page or something like this? I saw references for vite bundler, but we're using webpack.
Beta Was this translation helpful? Give feedback.
All reactions