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
It looks like there is a code generation bug. Not sure if it's a compiler bug though, it may be connected with bumping dom-bindings version.
Code:
var compiler = require('@riotjs/compiler') const { code, map } = compiler.compile('<app-main><app-navbar store={props.store} /></app-main>') console.log(code)
4.0.0-beta.1 output, attribute evaluated as an object:
'attributes': [{ 'type': expressionTypes.ATTRIBUTE, 'name': 'store', 'evaluate': function(scope) { return scope.props.store; } }],
4.0.0-beta.2 output, attribute evaluated as string:
'attributes': [{ 'type': expressionTypes.ATTRIBUTE, 'name': 'store', 'evaluate': function(scope) { return [scope.props.store].join(''); } }],
The text was updated successfully, but these errors were encountered:
good catch thank you
Sorry, something went wrong.
closes #115
12a180f
Thank you I have fixed it in @riotjs/compiler@4.0.0-beta.3
GianlucaGuarini
No branches or pull requests
It looks like there is a code generation bug. Not sure if it's a compiler bug though, it may be connected with bumping dom-bindings version.
Code:
4.0.0-beta.1 output, attribute evaluated as an object:
4.0.0-beta.2 output, attribute evaluated as string:
The text was updated successfully, but these errors were encountered: