2 ms·
A suggestion for folks writing articles like this - sell me the advanced but typical example. I want to see an image input which is then previewed and then uplo
by fareesh 5y ago
A suggestion for folks writing articles like this - sell me the advanced but typical example. I want to see an image input which is then previewed and then uploaded asynchronously with a loading bar and error states.
- iudqnolq 5y agoHere you go. Disclaimer: I've only implemented part of this personally because my use case didn't need previews. https://hexdocs.pm/phoenix_live_view/uploads.html#upload-entries https://hexdocs.pm/phoenix_live_view/uploads.html#upload-ent...
- fareesh 5y agoAh Phoenix, how is the package ecosystem these days? I've always hesitated because the Rails ecosystem of gems saves a lot of time.
- iudqnolq 5y agoI'm pretty inexperienced, my general feeling is that it's been good enough for me so far. For example, I found good Excel writing and job scheduling libraries. Definitely not as good as gems though