react-live
react-live copied to clipboard
A flexible playground for live editing React components
When I try to import a thing the error comes "require is not defined". const exampleCode = ` import FAQ from './FAQ' const LoginComponent = () => { const [showPreview,...
This can be reproduced in the demo on the docs site: https://formidable.com/open-source/react-live/ Inside the editor, type a random sentence fast and notice the cursor sometimes goes back a letter, which...
Steps to reproduce: 1. Use Firefox 2. Go to https://formidable.com/open-source/react-live/ 3. Click on one of the of the demos to edit the code. 4. Press CTRL+A to select all 5....
Can you add the accessibility attributes because Wave accessibility tool shows an error like missing form label
## Issue If the code passed to `` changes, the `` isn't updated. This occurs in v2.4.1 of react-live. ## Demo CodeSandbox: https://codesandbox.io/s/react-live-code-update-issue-w2lxsg?file=/src/App.js After two seconds the code passed to...
Hello, I love this project, thanks for it 🙂 I'm trying to do a better integration of it in [cards.microlink.io](https://cards.microlink.io):  The user write react code in the right, it's...
I followed the instructions step by step and get the error "TypeError: Cannot read properties of undefined (reading 'pos')"
### Problem The previewed components get replaced entirely when a parent component is caused to re-render (e.g., by state change). ### Expected The previewed components are not entirely replaced but...
- [ ] Remove `.sails.yml` and all sails stuff - [ ] Add GH actions - [ ] Add a build badge to readme