Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Here 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-ent...


Ah Phoenix, how is the package ecosystem these days? I've always hesitated because the Rails ecosystem of gems saves a lot of time.


I'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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: