The Official ReScript Bindings for ReactJS
- Existing users want to upgrade from
reason-react@0.9torescript-react@0.10(should be a smooth transition, check out the Changes.md for minor breaking changes) - Make sure that all community libraries that are still on
reason-reactpublish a new@rescript/reactversion as well (for compatibility reasons) - We will soon publish our
v1.0changes, with a newreact-jsxversion and some other cool features! Check out our RFC post for more infos.
npm install @rescript/react --save In your bsconfig.json:
{ "reason": { "react-jsx": 3 }, "bs-dependencies": ["@rescript/react"] } Quick Links:
- bs-platform v8.3+
- ReactJS v16.8.1+
- Optimized for ReScript syntax usage
npm install # Starts the ReScript compiler in watchmode npm start This project is the next evolution of the original reason-react bindings.