| I love elixir. I use it for basically everything. And LiveBook has become my go-to place to start building toy software. I just can't do liveview. I have a very hard time grokking it, and it has a lot of footguns. (ex: if you need to remember to perform auth checks both doing a `pipe_through` in a router and using the `on_mount` callback in a LiveView, see [0].) In fact, the fact that the above sentence has zero meaning to a new-to-phoenix-and-liveview dev is proof enough to me that liveview should not be the default way of doing things. It creates a very steep learning curve where, crucially none is required. elixir/phoenix are easy. I would even say that the correct learning order for a new-to-elixir/phoenix dev should be: - Phoenix with deadviews (MVC style). - "Elixir in action" to learn the basics of OTP. This book is was both easy and utterly eye-opening to me and changed the way I code basically everything. - Then, and only then, LiveView. [0]: https://hexdocs.pm/phoenix_live_view/security-model.html#liv... |
If you have other footguns in mind, feel to shot me an email at jose dot valim on gmail!