We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track

Asynchronous data loading with LiveView just got a whole lot easier with the release of LiveView 0.20.0.
Donβt want to wait? Check out a working example repo here (Just run
mix.setup
!)Meet your new friends
assign_async
andasync_result
:
assign_async
is the new and improved way to handle asynchronous data loading in LiveViews. Letβs take a look at how it works and how you can use it.Weβll also take a peek at the new
AsyncResult
struct andhandle_async/3
callbacks to show how you can take lower level control of async operations if need be.
continue reading on johnelmlabs.com
β οΈ This post links to an external website. β οΈ
If this post was enjoyable or useful for you, please share it! If you have comments, questions, or feedback, you can email my personal email. To get new posts, subscribe use the RSS feed.