fable-react icon indicating copy to clipboard operation
fable-react copied to clipboard

Fable bindings and helpers for React and React Native

trafficstars

Fable.React

Open in Gitpod

Fable bindings and helpers for React projects. For more recent bindings that improve on type-safety and development experience, please check Feliz.

Run npm run publish to publish a new version of the package.

Documents

  • Server-Side Rendering tutorial: A Pure F# solution for SSR, No NodeJS Required!
  • Using third party React components: How to create binding so that third party Javascript React components can be used like stock React components in Fable code.
  • React error boundaries: Example on how to use react error boundaries in fable.
  • Function components, hooks and code splitting in Fable.React 5

Other packages

This repository previously contained other packages like Fable.React.TransitionGroup, but they've been moved to their own repos. Find here where.