Danny Oosthoek

Joined

10 Experience
0 Lessons Completed
0 Questions Solved

Activity

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