kLabz/haxe-react

very excited about this project

hyusetiawan opened this issue · 1 comments

I have always wanted to use haxe but the hurdles are a bit much to be productive in haxe while using react, especially the string based JSX, does this project plan to fix that? first class support of JSX maybe?

Also, the links to the roadmap here: https://lib.haxe.org/p/react-next/ are all broken

kLabz commented

Hello :)

Yeah, links don't always work directly within haxelib, but they should be fine on github. You can find react-next documentation here: https://github.com/kLabz/haxe-react/tree/next/doc

It's not first class support of JSX yet because you don't get much completion within JSX, but you can definitely avoid string-based JSX and even most jsx() calls with -D react_auto_jsx

override function render() {
  return <button onClick={() -> trace('hello world!')}>Hello</button>;
}