Import React component with Module Federation
I have a simple use case which belies the greater effort: importing a counter with a starting value prop
I have a SO post: https://stackoverflow.com/questions/77881409/how-can-i-get-solid-to-process-a-react-component-with-props-using-module-federat
It also links to the repo, but here it is anyway: https://github.com/CSworenI/react-to-solid
Stack Overflow
How can I get Solid to process a React component with props using M...
This is a very simple example of the functionality I need:
React component which takes props from Solid app
Solid app hosts React component(s) without changing URL
Solid app modifies props, changing
GitHub
GitHub - CSworenI/react-to-solid: Attempting to host a React app (c...
Attempting to host a React app (counter) in a Solid app with Module Federation... - GitHub - CSworenI/react-to-solid: Attempting to host a React app (counter) in a Solid app with Module Federation...
2 Replies
I remember Ryan did some experiments with that stuff https://www.youtube.com/live/p9pwHyM5Z98?si=YUu5crCHIU_PBL5G around 2:14:00
Ryan Carniato
YouTube
SolidJS in React? Reconciling Disparate Worlds
As similar as SolidJS and React look on the surface it has been challenging to have them play nicely together. From Compilation to Compat, State Management t...
Sweet, I will definitely have to try that one.