How to use mutiple FE framework in one project #1762
-
Use cases here: I usually use React for the SPA page, but with the marketing page, I prefer SolidJs to optimize performance & SEO points. Why don't you use Solid Js for the whole page? Because the ecosystem around React is incredible, especially some text editors, animation, or motion libs only have in React(well maintained & popular). So, do you know how I can archive this with Vike? Thanks for reading <3 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Yes, you can do that, for example by using both vike-react and vike-solid. (If you use TypeScript then make sure to use |
Beta Was this translation helpful? Give feedback.
Yes, you can do that, for example by using both vike-react and vike-solid. (If you use TypeScript then make sure to use
ConfigCore & ConfigReact
andConfigCore & ConfigSolid
instead ofConfig
. These types aren't exported yet but PR welcome.)