How to create Custom Elements with Web Components Discussion
Interesting topic. Thanks for sharing!
Curious to see more examples. Chris, do you use any web components for GoRails or Jumpstart Pro?
Hey Chris,
I'm working with this right now and i've gone quite deep down the road to implement this. Glad you added the turbo stream logic there. I was still puzzling on how that one worked :). However i don't like having my javascript cluttered with HTML or most of the logic that creates the tags there. What would your approach be to keep the HTML out of the javascript so that one can keep my neat syntax hightlighting as well as ERB parsing alongside a proper seperation of concerns?
I've succesfully done so until i bumped into I18n. Which complicated the matter :D
Curious how you would