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

Closes #34 Per @tom-sherman's instructions, I forked his `react-18` branch and added a couple of commits. I attempted to mirror the React 18.1 documentation: - upgraded to react and react-dom...

ErrorBoundary is implemented by using jsx ppx now, but it has a warning in runtime. ``` Warning: Functions are not valid as a React child. This may happen if you...

I found the critical error during the thorough test for V10. ``` Warning: Functions are not valid as a React child. This may happen if you return a Component instead...

Hi All I am trying to compactly wrap a native input using createDOMElementVariadic, since input props are expansive and who wants to repeat all that. I notice that createDOMElementVariadic takes...

Closes #34 This PR includes a small amount of formatting in `src/React.res`, I can remove that commit if #36 is merged first. Marked as draft until React 18 is released....

This PR introduces the new `Jsx` module in the compiler. This is an initial proposal stage that has objectives and constraints as below. * Adding The new jsx transform APIs...

Playground: https://rescript-lang.org/try?code=FA3C2D2AmCuA2BTABAIVgFw5AdsgvMgN7DLIACATogIYDGGAdHZOAA66I4anJIbJwNANYpCAJVoNGAM0iUA7jUrRJMgBTqARvBoALADTJqMgJQEAfMV5kAlgHMc8xOpOnSN5AB4tmbDisiACIggFoLSXomAGcMSlscewBfbwB6XyxcC14k9ySQKikmFnZObmB+QRExZHVzfEDeSpMCZEjpWGjENXUAKWjGADkEXR1ERlgcaEQZBMRody90TLwTfBbkVOykoA Notice that the location of the error is invalid (Line 1, column -1)

Closes #23 Definitely has some mobile browser compatibility issues (see: https://caniuse.com/keyboardevent-code).

React recommends importing the client for the new create root API. Importing from "react-dom" throws this warning in React 18 > Warning: You are importing createRoot from "react-dom" which is...

This is a cross-repo change and so I want to have a place here to comment/get feedback from folks. In particular I want to remember to take a look at...