4 ms·
What challenges did you pick up with Elixir?
by FredPret 1y ago
What challenges did you pick up with Elixir?
- recroad 1y agoElixir/Phoenix is awesome, no complaints overall. A few small things: - Passing data from LiveComponent's/JS is a bit of a pain (need to use update()) - phx-hook doesn't always pay well with re-rendering state changes - Directly calling JS functions (e.g, getting Apple Pay to work) isn't clean - Can't use attr when using LiveComponents (need to wrap them in a functional component) - Unique ID requirement for LiveComponent is a pain (so is wrapping them in a div) - No great APIs for updating session data when using sockets - Can't pass params to LiveView in live_render, have to use session