haxe-react
haxe-react copied to clipboard
Fix JSX macro error
ReactMacro.jsx() can not process this code:
class CompRenderFunctionProps extends ReactComponentOfProps<{?render:()->ReactElement}> {}
function fn() return jsx('<></>');
ReactMacro.jsx('<CompRenderFunctionProps render=${fn}/>');