Today I wanted to use a styled-component at the top level of my own TypeScript component. And it was not nice. I got type collisions all the time. But it tuns out it’s quite simple if I extend from the props of the styled component.
Managing state in a JavaScript or a React.js application is complex problem. My personal preferred solution is mobx-state-tree which is build on the also great MobX. One of my favourite features is the necessity to call an explicit action to change a value. For the most part this action is bound to the model. It looks like this:
Microsoft released the preview of their new terminal application which looks promising and for some people it might be a replacement for third party termimal emulators. But it looks a little bit old faschioned to say it polite. Personally I’m a big fan of the Nord theme. So I added it to the terminal application and this how to it.
In the last few days I build a tool for the game master of our Anima RPG round. The anima system tends to be a little bit overcomplicated. So when I told him I was looking for a side project and if he wished for some tool he told me something to track the initiative of characters would be great.
In most RPG systems the initiative determines the order in which characters can act in hectic moments like fights.
Read more...