slime
slime copied to clipboard
Possible to support .leex templates?
Hi there,
I wondered if it is possible to support .leex (liveview) templates as well?
Thanks!
@solars I don't see why not but we may need to revise the phoenix library. Would you be interested in taking a shot at that?
I'd like to - but I'm only starting with Elixir
This could be really nice to have.
When using slime with Phoenix Liveview, LiveView sends the entire template to the client on every re-render instead of the template diff (which is supported for .leex).
See also the example in the Phoenix LiveView docs: https://hexdocs.pm/phoenix_live_view/Phoenix.LiveView.html#module-example