You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So right now you can only pass in text to component locals, you can't evaluate expressions there. Would make a great addition to posthtml-modules - see posthtml/posthtml-modules#64
If you just shortened the self closing <component /> for the example, that's ok, but please keep in mind that doing that in production can lead to unexpected results, like missing markup.
Happy to help! Maybe some day we'll have Components in Maizzle that work similar to those in front-end frameworks, I am aware they're pretty limited right now... :)
When using the component element further iterations appear to inherit variables previously set, and not the one defined when using
page.variable
.This can be replicated using the example below:
test.html
test2.html
Output being received is:

The expected output would be as follows:

Please advise.
The text was updated successfully, but these errors were encountered: