fable-react
fable-react copied to clipboard
Fable bindings and helpers for React and React Native
@alfonsogarciacaro promised to add this to react native bindings once things moved to 1.0 :P open Fable.Core.JsInterop module R = Fable.Helpers.React type RCom = Fable.Import.React.ComponentClass let SignaturePad: RCom = importDefault...
I guess screenshot says all. Any ideas?
Hi, I'm basically trying to figure out the equivalent of the following JS(X): ```js import { useRef } from 'react'; function MyComponent() { const componentRef = useRef(null); // Function to...
Hi, I had a use case that seemingly could benefit from `useCallback`, although in this particular case I think I can get away with `useRef` (because I have no dependencies)....
If I'm understanding correctly, Fable.React v9 targets React 18, while older versions target 17. However, when I use `femto --resolve` I get the following result: ``` [12:56:43 INF] Fable.React requires...
We recently upgraded from Fable.React `5.4.0` to `9.4.0`, a rather large jump to be sure. An issue we now have is that rendering an element using either `voidEl` (either directly...
This is how `FunctionComponent.Of` caches passed function: ``` // Cache the render function to prevent recreating the component every time when FunctionComponent.Of // is called inside another function (including generic...