FormidableLabs / FormidableLabs/react-live

bad syntax React.useEffect crashs the site

Offen
#413 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
TypeScript
Sterne
4.6k
Forks
260
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### 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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.