Skip to content

How to embed react in solidjs. #2445

Answered by ryansolid
chadsteele asked this question in Q&A
Discussion options

You must be logged in to vote

I have to admit I haven't worked much on this direction recently. Originally I made this demo: https://codesandbox.io/p/sandbox/solid-react-hoc-8m2yd?file=%2Fsolid-react.jsx.

But more of the focus and work has been the other way of putting Solid in existing React apps: https://stackblitz.com/edit/hr-meheraj-vite-react-rr54iq?file=src%2FApp.jsx

This is mostly because while people have no choice to deal with existing React projects and we need to make it easier to use Solid, the other direction generally isn't as beneficial. If you are already using Solid, using React will generally be a negative. We have most ecosystem libraries we need.

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@chadsteele
Comment options

Answer selected by chadsteele
Comment options

You must be logged in to vote
4 replies
@ryansolid
Comment options

@chadsteele
Comment options

@chadsteele
Comment options

@chadsteele
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants