We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
From the sweet.js mailing list. It seems like there's a problem with macros inside elements?
macro id { rule { $x } => { $x } } <h2>{id person.name}</h2> // throws a parse error
Running sjs -p -l jsx-reader test.js gives:
sjs -p -l jsx-reader test.js
_DOM { ( ( React . DOM ) . h2 ) null person . name , }
So it looks like the _DOM macro isn't being expanded for some reason.
_DOM
The text was updated successfully, but these errors were encountered:
No branches or pull requests
From the sweet.js mailing list. It seems like there's a problem with macros inside elements?
Running
sjs -p -l jsx-reader test.js
gives:So it looks like the
_DOM
macro isn't being expanded for some reason.The text was updated successfully, but these errors were encountered: