Phoenix Live Component Elixirs React + Redux
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 selfcontained. 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
|
|