-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[docs] Make examples interactive #426
Comments
@skv-headless Any update on this? I don't think that it worse the effort. |
Edit, there is https://github.com/FormidableLabs/component-playground that we could use. Still, what is the use case? |
I think this isn't critical but it would be nice to have. Sometime's when you're new to a project it's fun to tinker a bit beyond the examples. Also, it might be useful in terms of reproducing issues. For example, if someone has an issue with how a component is working, we could ask them if they could reproduce it in component-playground on the doc site. |
Mm, I think I like that route. I think supporting codepen / jsdfiddle could go a long way interms of better supporting this project here and on StackOverflow. Getting reproducible examples helps so much when pinpointing root cause of something. I guess first step is making creating a webpack build of material-ui part of our build process. Maybe after we have that we can see if cdnjs would be willing to host it for us? |
Could it not be served from github pages? |
Mm...yeah I don't see why that wouldn't work. That idea just reminded me of this option too: https://rawgit.com/ |
Interesting. And the compiled lib could still live in its own branch if it was desirable not to pollute main. |
I can work on It. I would like to reuse this component
https://github.com/react-bootstrap/react-bootstrap/blob/master/docs/src/ReactPlayground.js
The text was updated successfully, but these errors were encountered: