No Image

Displaying a list of users from an API with typescript, hooks, and redux-toolkit

https://gist.github.com/barbaracassani/4b07c3b1f0ec49ff9b661eece78a1769 I use redux a lot, but i had never really tried redux-toolkit before. It took me a while to overcome the impression “oh look, data flying everywhere” and to recognise the familiar redux patterns — especially in the wildly terse createSlice. What can I say about it? It’s wonderfully succinct compared to the boilerplate-dense…

No Image

The shoemaker always wears broken shoes

Six years since I last updated my website. In any sense: the temporary template remains there, I didn’t write any new posts. Well, I have been busy. Many many things have been going on in kitsch-en.net towers. Somewhat, this little job always fell at the bottom of my priorities’ list. So today I thought it…

No Image

Mock-RESTful

A tiny nodejs module for development purposes: it parses json files and creates a server that responds to routes created on the basis of the json data, therefore simulating your real life REST api. It follows the conventions delineated on Wikipedia for Representational State Transfer and, oyez oyez, it’s stateful! So you can post or…

Screen Shot 2014-02-08 at 22.42.52

Breve.js

The bloat. Oh, how it irritates me. I feel quite lonely in this. Yes, we compete over concision, can you write a state machine in 148 characters dude?, we try to keep the footprint of libraries within reasonable boundaries — but then we think nothing of including, dunno, lodash.js because in our project we use…

Screen Shot 2014-02-06 at 15.34.37

Mini pong

I am sure there’s a bazillion ports of Pong out there, but sometimes, as some Zen Master said once, one needs to do their own experience of something — and I had a couple of hours to spare. It’s incredible how quick it is to write a primitive but perfectly playable game in Canvas, and…