Riot.js Runtime version #2917
GianlucaGuarini
started this conversation in
Ideas
Replies: 2 comments 5 replies
-
@kachurun is something you can try out? I will be happy to set up a call discussing how to implement it. Please let me know if you are interested |
Beta Was this translation helpful? Give feedback.
5 replies
-
Riot.js@7 Implements this feature, you can play with this demo to see how it works |
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
-
I am thinking to release in future a bigger Riot.js version
riot.runtime.js
for users that want to use its syntax in their existing DOM.At moment there seems to be a demand for it see also https://github.com/alpinejs/alpine
This feature will be similar to the behaviour Riot.js v3 used to evaluate components expressions at runtime.
Of course, this bundle will have a size between
riot.js
andriot+compiler.js
and it will be not CSP compliant. Some users might want to use it to evaluate components slots directly from the DOM.For example:
Beta Was this translation helpful? Give feedback.
All reactions