🎙 Episode 049: Optimizing Performance with Robin Hansen is out!

@dillonkearns I confirm that using workers is a great fit for Elm ports. In my app I’m sending Elm port messages to a web worker in charge of Firebase (auth, database, storage, server functions), and sending the results back to Elm ports. It’s a bit tricky because you have to assign unique IDs to messages, but that way the main thread is doing only UI and is not blocked by stuff in the background.

PS: Loved this episode, just like the others :+1:

5 Likes