Lot of projects these days are using JS frameworks like angular,react with AEM.
How does one pass variable values from sightly/HTL to JS layer?
Because including those values in DOM as data- attribute or as hidden element and retrieving with JS DOM traversal wouldn't be good choice if there are too many values to be passed?
It would be great if someone could point me to some example!!
Thanks in advance.