4 ms·
I didn't know about ViewComponent until now, it looks more appealing to me than Rux. Dealing with transpilers is a necessary evil in JS land, I really don't wan
by vlunkr 4y ago
I didn't know about ViewComponent until now, it looks more appealing to me than Rux. Dealing with transpilers is a necessary evil in JS land, I really don't want to bring that headache into my Ruby code.
- FigurativeVoid 4y agoViewComponent is really cool, but still a little fresh. I'm excited to see how they update it in the coming year.
- craigmcnamara 4y agoViewComponent is years old, in large production deployments, and very stable.
- camertron 4y agoWe use it extensively at GitHub and consider it very stable.
- joeldrapper 4y agoYou can avoid transpiling if you write views in pure Ruby instead. Ruby syntax has everything you need to concisely represent all valid HTML — method calls are tags, keyword arguments are attributes and blocks are content.