final-form / final-form/react-final-form

Parse/format example using wrong React/ReactDOM versions

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

Mô tả

### Are you submitting a **bug report** or a **feature request**?
Bug report

### What is the current behavior?
The `parse`/`format` sandbox example isn't working due to its React/ReactDOM versions. This example is currently using version `16.0.0`. In this one, `React.createContext()` isn't available yet, and that's what's breaking the example.

### What is the expected behavior?
The new context API is available from version `16.3.0`. Updating both React and React DOM versions in the `package.json` file should do it.

### Sandbox Link
https://codesandbox.io/s/10rzowm323

### What's your environment?
```
"dependencies": {
"styled-components": "latest",
"react-final-form": "latest",
"react-dom": "16.0.0",
"react": "16.0.0",
"final-form": "latest"
}
```

### Other information
I would fix this small bug, but I didn't figure it out how to edit the sandbox code. If there's a way, I'd gladly do it.

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

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

Hướng nghiên cứu

Mở ví dụ parse/format CodeSandbox được liên kết và kiểm tra các dependency trong package.json của nó. Cập nhật React và ReactDOM từ 16.0.0 lên một phiên bản cung cấp createContext, sau đó xác nhận rằng ví dụ sandbox tải và hoạt động mà không gặp lỗi đã được báo cáo.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
javascript, react
Lĩnh vực
frontend
Loại issue
Lỗi
Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
55/100

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.