FormidableLabs / FormidableLabs/react-live

bad syntax React.useEffect crashs the site

Đang mở
#413 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
TypeScript
Star
4.6k
Fork
260
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.