FormidableLabs / FormidableLabs/react-live
bad syntax React.useEffect crashs the site
Ouverte
bug
- Langage dominant
- TypeScript
- Étoiles
- 4.6k
- Forks
- 260
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
### Is there an existing issue for this?
- [x] I have searched the existing issues
### Code of Conduct
- [x] I agree to follow this project's Code of Conduct
### Code Sandbox link
https://nearform.com/open-source/react-live
### Bug report
```markdown
In react-live website, try pasting this code. Then **n is not a function** error will occur and breaks the page.
() => {
React.useEffect(()=>[])
}
```
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.