| Features | - Ruby class plus template per component
- unit tests with render_inline
- Capybara matchers in tests
- slots
- previews
- about 2.5x faster than partials in its benchmark
- long-term support release (4.x)
| - HTML, SVG and CSV views written as Ruby classes
- structural templating that is designed to prevent cross-site scripting
- kits, caching, fragments, streaming, snippets and testing for components
- phlex-rails: Rails helpers, views and layouts, adoption guide for existing apps
- works alongside ERB, ViewComponent, Stimulus, Turbo and Tailwind CSS
- renders about 1.4 Gbps of HTML per core on an M3 Max MacBook Pro, by the project's own figure
- follows BreakVer, with security patches for recent minor versions
|