4 ms·
Took a quick look. So if I understand correctly, you 1) instantiate a component, which creates an object and then 2) use destructuring assignment to get e.g. th
by heresjohnny 4y ago
Took a quick look. So if I understand correctly, you 1) instantiate a component, which creates an object and then 2) use destructuring assignment to get e.g. the template, css, event listeners out of that object. Seems intuitive!
What is not intuitive to me is the template syntax. Why did you decide to move this far away from HTML?
In any case: good luck with the project!
- diogoneves07 4y agoyou're right. the template syntax that Bemtv uses is basically removing the closing tag from the HTML, you can use HTML along with it normally. thanks for looking at the project!