Our frontend stack is permanently changing as the underlying eco system does. We are trying to adopt technologies at the "Slope of Enlightenment" in the hype cycle.
Former iterations of our stack were MVC or MVVM frontend frameworks. Since the arrival of React and state mangement libraries like Redux and Zustand we have been building reactive applications.
Reactive frontends are fun to develop and they scale.
Is our language of choice to build frontends for web applications.
We have adopted TypeScript very early, right after its initial public release in 2012. Here is a list of motives:
- good type system
- great tooling
While it seemed to be crazy to trust Microsoft as a friendly open source company, we have not been disappointed so far.
React / Preact
Declarative components and views, fast to develop and fast at runtime.
Since we are building services in Go and not with Node.js we have created a light weight RPC framework to integrate TypeScript with Go.
When creating TS definitions on the Go side we follow camel case convention of naming fields e.g.
lastDateModified instead of