rescript-react
rescript-react copied to clipboard
Official ReScript bindings for ReactJS
Not sure if this a a good approach, but here's my thoughts: If we want to make JSX not directly connected to React, we should move React specific JSX props...
The current definition of `React.memo` is: ```res @module("react") external memo: component = "memo" ``` which is incorrect. `React.memo` takes an equality function as an optional second param https://react.dev/reference/react/memo ``` memo(SomeComponent,...
related: https://github.com/rescript-lang/rescript-compiler/pull/7042
I was trying to add `inert` property to an element for accessibility, but was surprised to see the binding was missing.
This is a sample PR to illustrate the usage of the new WebAPI. Some types in ReactDOM and ReactEvent were changed to match the new bindings. As only the new...