Replies: 2 comments 12 replies
-
The playground uses babel and babel-preset-solid in the browser to do that. What do you want to achieve with this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@atk I basically want to be able to create an interactive sandbox that can utilize my own components, similar to what mui does with its docs: (reference: https://mui.com/material-ui/react-button/#basic-button) In that example the code is editable and update the above content in real time. |
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am looking to create some like : https://formidable.com/open-source/react-live/ : the ability to take a string and in realtime add it in as a component. I am trying to take a look at the https://github.com/solidjs/solid-playground repo but having a hard time figuring out where in that repo is the string being converted into SolidJS code.
Could anyone point me in the right direction for figuring out how to compile a string into SolidJS code and in real time inject it into the current page?
Beta Was this translation helpful? Give feedback.
All reactions