phoenix_live_view
phoenix_live_view copied to clipboard
Rich, real-time user experiences with server-rendered HTML
See https://github.com/phoenixframework/phoenix_live_view/issues/2128
I've realized that assigns attached to `private: %{}` from the router are not available on the socket. Is this a bug, intentional or something that currently isn't possible? My use...
* [x] Refactor HTML engine to not parse attrs twice (JV) * [ ] Docs for defmacro slot * [x] Declared slots should default to `[]` * [ ] Use...
Resolves #2126
### Environment * Elixir version (elixir -v): ``` Erlang/OTP 25 [erts-13.0.2] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [jit:ns] Elixir 1.13.2 (compiled with Erlang/OTP 24) ``` * Phoenix version (mix deps): `1.6.11`...
Do we want to go this route? Or should we tell them to wrap their LiveComponent/LiveView in a function component? I am not the biggest fan of the second because...
Current `Phoenix.LiveView.JS.toggle` is specialized to toggle `show` and `hide`. If `Phoenix.LiveView.JS.toggle` receives two commands tuple, wouldn't this expand the possibility while still covering the current use case? ## Example Usecase...
If we define a `phx-click` event on an element with no children and set `disabled` on that element, `phx-click` will not fire. However, if that element has children, this is...
### Environment * Elixir version (elixir -v): Elixir 1.14.0-rc.0 * Phoenix version (mix deps): 1.6.11 * Phoenix LiveView version (mix deps): 0.17.11 * Operating system: macOS Monterey * Browsers you...
### Environment * Elixir version (elixir -v): * Phoenix version (mix deps): * Phoenix LiveView version (mix deps): 0.17.9 * Operating system: * Browsers you attempted to reproduce this bug...