FormidableLabs / FormidableLabs/react-live

bad syntax React.useEffect crashs the site

Open
#413 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
4.6k
Forks
260
PR merge metrics
No merged PRs in 30d

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

Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.