Phlex is just Ruby!

  • Use include and extend to mix behaviors into views.
  • Compose views by rendering Phlex views within views.
  • Enforce data types with Ruby’s type checking.
  • Distribute UI libraries via RubyGems.
  • More boring and less “stuff” than Erb and ViewComponents.
12 / 39