…e any code to look at, other than what Chris showed in the presentation. But as near as I can tell, a LiveView is lot like a React component running in a GenServer — it even has a
render function! And with the EEx sigil (which I didn’t know was a thing) the code feels a lot like JSX:
…their parent’s state or props change — the computation of derived data can easily become expensive. The biggest benefit of Reselect is that selectors created with the library are memoized and therefore will only re-run if their arguments change.
Array.reduce is used when you want to process all the elements of an array to get a single value out of it. Reduce is little tricky one to understand in beginning but once you understand it’s really simple t…