React and ReactNative support for Elmish apps.
For more information see the docs.
The easiest way to start with Elmish and React is to use the template:
dotnet new -i "Fable.Template.Elmish.React::*"
dotnet new fable-elmish-react -n MyProject
Alternatively, you can just add it to an existing project via paket:
paket add nuget Fable.Elmish.React
As with any JS dependency, if you are authoring an application (as opposed to a library), you'll also need to install React (separately, via npm
or yarn
):
yarn add react react-dom