Fredrik Teschke
Fredrik Teschke
Related to #201
The only other non-`Credo` check I've used is [excellent_migrations](https://hexdocs.pm/excellent_migrations). Can't think of any other prior art off the top of my head.
Do you see any value in this @germsvel? If it helps I could put together a PR for one of the alternatives I suggested, e.g. adding a`fill_in_hidden` function. The caller...
> I've been thinking a little about that with JS hooks like show/hide That would be neat. Given the `%JS{}` abstraction that should be feasible. > at least we have...
> data becomes something of a public API Don't Phoenix/Phoenix.LiveView basically provide the API spec by defining in which shape they expect data for `dispatch/render_change/render_submit`? In that case it seems...
> Could we also use fill_in_hidden for things like the old-but-classic [select2](https://select2.org/getting-started/basic-usage)? Or would that require something else like a select_hidden? I've never used `select2` before. I briefly read the...
FYI I started preparing some examples to explore this idea further: > If you render regular form inputs in your view and design your JS hooks to progressively enhance them,...
> I'm not even sure how you would implement file downloads from a LiveView. The patterns I know for downloading files from LiveViews 1. Link from LiveView to Deadview (can...
> is it meant to assert that the select with label "Race" has an option with value "Elf"? Or is it saying that the selected option is the value "Elf"?...
I agree with what you're saying. Matches my thoughts. I'll try to get a PR going :)