u/Gwolf4in r/ExperiencedDevs • Recommends
On “Language suggestions for an API”
If you really want to experiment. Pick effects ts link to this video it is a library to apply some goodies constructs from more strict functional languages.
The best of the library framework is that it helps you get closer to type check some things at type level. Past are the days of coloring a function with async and await it. At type level you can now if something is async, if something may return null, which is not the same as having union types of null | data.
I have seen some crazy claims of people ditching redux and react query on the front end using that, and people using directly the nodejs raw http server with that library alone.
I haven't personally tested it. But as someone that would li…