rescript-react icon indicating copy to clipboard operation
rescript-react copied to clipboard

Official ReScript bindings for ReactJS

Results 45 rescript-react issues
Sort by recently updated
recently updated
newest added

There are some breaking changes when porting over https://github.com/bobzhang/zero-cost-rescript from `reason-react`. Good data points for some legacy api usage (also good for writing migration guide).

Some scripts that I use in my app are breaking. For example: 1. rescript-recoil 2. bs-reach 3. re-formality is there a way to fix this other than waiting for the...

- [x] Port to ReScript syntax - [x] Align naming / terminologies - [x] Remove legacy code (see Changes.md for details) - [x] Upgrade to [email protected] - [x] Align upcoming...

1. With JSX4 bringing breaking changes, the JSX3 bindings have been moved into a separate namespace ReactV3. I was wondering if this ReactV3 namespace shouldn't better be provided by some...

This PR makes use of `Js.Json.t` instead of `object` type for form events. It addresses this issue: https://github.com/rescript-lang/rescript-react/issues/105 Context: ```rescript let targetValueToInt = (target: Js.Json.t): int => { // Js.Json.decodeObject(target))...

Hello, I’m exploring rescript-react and noticed a peculiar behaviour. Here’s my test code: ```rescript module MyComponent = { @react.component let make = () => { let (value, setValue) = React.useState(_...

What do you think about add Scroll Restoration in React Router to ReScript React as well? This feature is also supported in Remix and Next.js, and I just thought it...

I am using [`next-themes`](https://github.com/pacocoursey/next-themes?tab=readme-ov-file#readme) lib that requires to add attribute `suppressHydrationWarning` on the HTML tag. I think `JsxDOM.domProps` should be have `suppressHydrationWarning` type https://legacy.reactjs.org/docs/dom-elements.html#suppresshydrationwarning ![x kevs ws (Code) 2023-09-12 at...

hello 👋 great work on the release! I just found out that the new bindings, omitting the `.js` extension break when using node in ESM mode, as it tries to...