Skip to content
loading...

I spent a week searching for functionality under my nose.

adam_cyclones profile image Adam Crockett github logo ・1 min read  

I had been search and search for an implementation of the actor model that could run in isomorphic contexts, in both browser and in node. Seeing as I have already got communication documented in my last post, all I want to do is send messages from server actor to client actor. It turns out that xstate offers more than just state machines, xstate has an actor API, how did I miss that, I wasted time implimenting my own bits and bobs. Now I'm going to tear down what I have and refactor with xstate.

Moral of the story, read the docs again.

twitter logo DISCUSS
Discussion
markdown guide
Classic DEV Post from Jul 27 '19

If You Don't Know, Now You Know - GitHub Is Restricting Access For Users From Iran And A Few Other Embargoed Countries

Please help our cause against modern-day discrimination

Adam Crockett profile image
I work at ForgeRock as a Front End Engineer, I play with all sorts really. Lately WASM is my toy of interest.