Skip to content

Fix JSX macro error - #51

Open
terurou wants to merge 1 commit into
kLabz:nextfrom
DenkiYagi:fix-macro
Open

Fix JSX macro error#51
terurou wants to merge 1 commit into
kLabz:nextfrom
DenkiYagi:fix-macro

Conversation

@terurou

Copy link
Copy Markdown

ReactMacro.jsx() can not process this code:

classCompRenderFunctionPropsextendsReactComponentOfProps<{?render:()->ReactElement}> {}
functionfn() returnjsx('<></>');
ReactMacro.jsx('<CompRenderFunctionProps render=${fn}/>');

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@terurou