I’ve been working a lot to figure out how Frontity should deal with typescript and the state manager API this weekend. I think I got an elegant solution that works great in all cases, it’s simple to understand and easy to set up.
The good part is that finally all the pieces fit together (at least in my head) and everything works and it’s simple.
The bad part is that we cannot use overmind for the state manager because it is not compatible with that API.
But the final good part is that I think we can use observer-util to make an MVP of that state manager rather quickly and then evolve it to our final state manager.
This is going to delay us a bit but I was quite worried because typescript was an absolute mess. I prefer to delay the beta for one week than to launch with a very different API than the final one.
I’m going to be writing today about all this in the relevant posts and hopefully I will have time to finish the typings on the @frontity/types package.
Yesterday I made a PR for the first version of Frontity Connect and started refactoring the core to use Connect instead of Overmind. Today I hope to finish the core part.
I made another PR for the connect API of Connect for React.
I think today I’ll be working on setting up the @frontity/mars-theme package and an example that works with it so @orballo is able to start the development later on.
If I finish that, I’ll work on the @frontity/tiny-router package.
I’m going to refactor actions to be an object containing actions and libraries instead of only state and I hope I can then publish all the packages and start testing them in a new project.
I’ve been working on the starter theme. I’m waiting for some changes in core before we can wire everything up, so I’ll be working on the docs in the meanwhile.