When Elixir's Performance Becomes Rust-y Elixir Wizards S3E7: Dan Ivovich from SmartLogic on Hiring and Training

Phoenix Refactoring: One LiveView to many small LiveComponents

Recently I wanted to clean up a large LiveView that had too many responsibilities. I used LiveComponents to break apart to the view into smaller bits that are mostly self-contained. The pattern ended up feeling pretty similar to work I’ve previously done in React and Redux using a one way data flow.

Apologies, after making this video I learned that one way data flow was inspired by Elm.


Shameless plug: Check out @elixirstatus' other community project:

Credo, a new static code analysis tool that acts as a code linter, but also focusses on teaching coding practices and code consistency.