A Haxe library offering externs and tool functions leveraging Haxe's excellent type system and compile time macros to offer a strongly typed language to work with the popular React library.
haxelib install react
- React API and JSX - what's the syntax?
- React JS library dependency - how to bundle?
- Static/functional components - advanced syntax
- High-order components - wrapping components
Support / discussions
If you have questions / issues, join haxe-react on Gitter.im
The following fork ("react-next") works on major evolutions to the library:
What's included / not included
This library covers React core and ReactDOM. It does NOT cover: ReactAddOns, react-router, Redux, or React Native.
Biggest source of up to date React libraries for Haxe:
Useful to see how to write quick 3rd party React externs:
React doesn't enforce any specific application architecture; here are a few examples to get started:
Using Redux, Haxe-style: