Re:Play with TailwindCSS in the Browser
by aaronbrethorst on Saturday June 11, 2022 @05:51PM
(#31708797)
Don't need it, but I've found ViewComponent to be a big win over partials. Being explicit with the available state instead of implicit has helped me catch plenty of bugs.
My take on ViewComponent: it’s what helper functions become when they grow up into proper objects. Great for larger projects, may be more infrastructure than necessary for smaller ones, adopt incrementally when they seem compelling.