cometkim / gatsby-plugin-typegen

Let's give developers using GatsbyJS better DX with extreme type-safety
https://www.gatsbyjs.org/packages/gatsby-plugin-typegen/
MIT License
204 stars 23 forks source link

Cleanup the flow #18

Closed cometkim closed 4 years ago

cometkim commented 4 years ago

Found this from gatsby-source-filesystem:

image

they use xstate and queue-based scheduler seems pretty neat! also, that means it is already installed in node_modules in most cases.

cometkim commented 4 years ago

I had considered about redux and redux-saga. (redux is already used by gatsby, and saga is easy-to-use and lightweight) but xstate is a great option to manage state more declaratively