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

Fix JSX macro error

Open terurou opened this issue 2 years ago • 0 comments

ReactMacro.jsx() can not process this code:

class CompRenderFunctionProps extends ReactComponentOfProps<{?render:()->ReactElement}> {}

function fn() return jsx('<></>');
ReactMacro.jsx('<CompRenderFunctionProps render=${fn}/>');

terurou avatar Nov 17 '23 14:11 terurou