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

Parse/format example using wrong React/ReactDOM versions

Abierto
#421 2 comentarios 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
7.4k
Forks
497
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.