view_component_reducible

sample

This sample shows state transitions and partial updates powered entirely by ViewComponent. The only thing you add in Rails is a single endpoint:

mount ViewComponentReducible::Engine, at: "/vcr"

Everything else is reducible to ViewComponent—no extra endpoints, controllers, WebSockets, or JS frameworks required.

view_component_reducible brings reducer-based state transitions to Rails ViewComponent, inspired by TEA (The Elm Architecture).