3 ms·
> Even React’s syntax really isn’t that different from a template as you need to enclose JS expressions in curly braces right? The difference is that they're r
by ng12 7y ago
> Even React’s syntax really isn’t that different from a template as you need to enclose JS expressions in curly braces right?
The difference is that they're real, actual JS expressions evaluated in the current scope. Anything you can express in JavaScript you can express in JSX without needing to learn anything new.
- elcritch 7y agoAh, I keep forgetting Jinja expressions can't be real Python. That makes more sense. So really this article is relevant to only full template languages or non-functional languages. edit: Looks like [Selmer](https://github.com/yogthos/Selmer https://github.com/yogthos/Selmer) is similar to EEx in the Clojure world.