Skip to content

jeremysmithco/volatile-crm

Repository files navigation

Volatile CRM

A companion Rails app to Refactoring Volatile Views into Cohesive Components talk.

Built With

Component Examples

Examples of three different types of view components:

  1. Utility: AlertComponent http://localhost:3000/alerts
  2. Layout: PageLayouts::BasicComponent http://localhost:3000/page_layouts
  3. Model-Specific: ContactCardComponent http://localhost:3000/contacts

Tabbed Navigation

See the progression of a tabbed navigation bar:

Then compare the final implementation with ViewComponent and traditional Rails view partials and helpers.

About

Companion to Refactoring Volatile Views into Cohesive Components talk

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published