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

Unintentionally discovered that imports from `react-dom/server.js` do not work(was able to easily write my own small binding for this, but this is an easy fix and totally doable). Tested on...

Add support for `backdrop-filter` to `ReactDOM.Style`. Currently can only be used with `unsafeAddProp(..)` like so ``` ReactDOM.Style.make()->ReactDOM.Style.unsafeAddProp( "backdrop-filter", "blur(5px)", ), ``` MDN docs: https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter Specification: https://drafts.fxtf.org/filter-effects-2/#BackdropFilterProperty

This PR attempts to resolve #30 Disclaimer: I'm new to Rescript and not sure if it's correct 😬

It seems strange that it exists inside of these bindings, maybe they should be split out?

help wanted

The ppx inserts JS objects of various shapes. Needs to be flexible on props type.

Hi, it would be great if we could add `onBeforeInput` to the list of supported DOM props. Thanks!

html attribute change

This rescript component: ``` @react.component let make = ( ~foo__one, ~foo__two, ) => { {foo__one->React.string} {foo__two->React.string} } ``` Generates this javascript function: ``` function Playground(Props) { var foo__one = Props.foo;...

bug

Is there a specific reason not having `ReactEvent.Keyboard.code` binding? IE support is the only one I can think of.

good first issue

Why this prop is under comment - https://github.com/rescript-lang/rescript-react/blob/master/src/ReactDOM.res#L1091 ? ``` {"Blog"->React.string} This argument cannot be applied with label ~ariaCurrent ```

html attribute change