fable-react

0.8.6 • Public • Published

fable-import-react

Fable bindings for React

Installation

$ npm install --save react react-dom fable-core fable-powerpack fable-react

Usage

F# project (.fsproj)

  <ItemGroup>
    <Reference Include="node_modules/fable-core/Fable.Core.dll" />
    <Reference Include="node_modules/fable-powerpack/Fable.PowerPack.dll" />
    <Reference Include="node_modules/fable-react/Fable.React.dll" />
  </ItemGroup>

F# script (.fsx)

#r "node_modules/fable-core/Fable.Core.dll"
#r "node_modules/fable-powerpack/Fable.PowerPack.dll"
#r "node_modules/fable-react/Fable.React.dll"
 
open Fable.Core
open Fable.Import
module R = Fable.Helpers.React
open R.Props

Readme

Keywords

none

Package Sidebar

Install

npm i fable-react

Weekly Downloads

2

Version

0.8.6

License

ISC

Last publish

Collaborators

  • alfonsogarciacaro
  • forki