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
Creation of temporary variable in v-for loops is not documented but in some cases is very helpful in Vue 2 and Vue 3:
v-for
<p v-for="user in users" > <span :set="u = user"> id: {{ u.id }}, name: {{u.name}} </span> </p>
In Vapor it is broken because of the order of _renderEffect's
_renderEffect's
_renderEffect(() => _setText(n2, " id: ", _ctx.u.id, ", name: ", _ctx.u.name)) _renderEffect(() => _setDynamicProp(n2, "set", _ctx.u = _ctx0[0]))
Sandbox
Shouldn't it be supported in the Vapor mode too?
The text was updated successfully, but these errors were encountered:
Regardless of the ":set" functionality - _setDynamicProp seems to be a pre-rendering step, shouldn't it be executed before _setText?
":set"
_setDynamicProp
_setText
Sorry, something went wrong.
No branches or pull requests
Creation of temporary variable in
v-for
loops is not documented but in some cases is very helpful in Vue 2 and Vue 3:In Vapor it is broken because of the order of
_renderEffect's
Sandbox
Shouldn't it be supported in the Vapor mode too?
The text was updated successfully, but these errors were encountered: