Replies: 2 comments 3 replies
-
I'm not convinced this is a good change. I don't see any benefits over the old syntax. If anything it's slightly worse, I think. Before, you had to change the value portion in order to switch from a fixed value to a variable. Now you have to change the attribute name portion, which makes slightly less sense. Is there a reason why JinjaX doesn't just use Jinja style variables with double curly braces?
|
Beta Was this translation helpful? Give feedback.
3 replies
-
Highly subjective, I get it, but the double curly braces I like the most by far. Just updated my app. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since version 0.4, to pass values to components as attributes, do not use
name={value}
anymore. Instead:name="string"
:name="value"
.For example, before:
is now:
How to update:
(\w+)=\{(.*?)\}
Replace for
:$1="$2"
Only in
*.jinja
filesBeta Was this translation helpful? Give feedback.
All reactions