Myvideo

Guest

Login

Phoenix LiveComponent - Elixir's React + Redux

Uploaded By: Myvideo
8 views
0
0 votes
0

Recently I wanted to clean up a large LiveView, so I tried using LiveComponents to break apart to the view into smaller bits that are mostly self-contained. The one exception here is that the components send out events and new state which is handled by the main LiveView in a very similar way to how it's done with React and Redux. This “Flux“ pattern can also be accomplished in Angular using Redux, but the API for LiveComponent is very similar to React's. I want to emphasize that I don't know if this is how

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later