rescript-react
rescript-react copied to clipboard
Official ReScript bindings for ReactJS
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?
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!
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;...
Is there a specific reason not having `ReactEvent.Keyboard.code` binding? IE support is the only one I can think of.
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 ```