3 ms·
> IMO they should be declarative, that is - in the HTML - but programmable, and that's the way things have been heading. Sounds like React. WCs templates aren'
by Offler 12y ago
> IMO they should be declarative, that is - in the HTML - but programmable, and that's the way things have been heading.
Sounds like React. WCs templates aren't programmable that's a DSL that is specific to Polymer.
- dpweb 12y agoThe mingling of HTML/JS in React I find unattractive (at best) but I'll have to look into React some more.
- akrymski 12y agoThis was my first reaction as well. I've tried using React but the designer in me hated having views inside my controllers. So I've ended up writing vanilla js, and a helper MVC framework: https://github.com/techlayer/espresso.js https://github.com/techlayer/espresso.js which borrows a bunch of concepts from React but is really just a tiny helper lib.