FormidableLabs / FormidableLabs/react-live

bad syntax React.useEffect crashs the site

Aperta
#413 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
TypeScript
Stelle
4.6k
Fork
260
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### 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(()=>[])
}
```

Image

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.