I didn’t like it, at first
When I first learned about observables I was sceptical about what value I would get from them. Many of the operations they provide are already available with `Array#functions` and ES6 `Promises`.
I usually use React when I write Single Page Apps, and add Redux when I need some sane state management. This works well when you have simple functions that make backend calls and update state when the result is received, however firebase uses WebSockets to give you realtime updates as your data changes. …
After learning about React and redux I found two barriers to my adoption of them:
Like most people, I thoroughly enjoyed redux after learning it. I used it for every project until I grew tired of the amount of boilerplate involved. I started skipping it on some components, and eventually, entire projects. This quickly came back to bite me when I started to see inconsistent state in my applications.
It can also be really tedious to build forms with more than 3 inputs while trying to stay within the bounds of the advice you receive in the React community (don’t use refs, maintain a single source of truth for state etc). …
Kubernetes is an open-source system for automating deployment, scaling, and management of containerized applications
There are three key points to understand in Kubernetes:
Google Container Registry is a private registry for docker images. We want to push our images there after building them in wercker so that we can easily pull them when we want to use them (i.e. when we are running them in Kubernetes).
We create a push pipeline using one of wercker’s internal steps, internal/docker-push.
Note: you need to create a service account on your google cloud project, so that wercker can use it to upload your images to the registry. …
Wercker is a platform for building and deploying your app using containers. It gives you a cli you can use to not only test your build locally, but also run a development container that watches your files and restarts automatically.
There are three key terms to understand in wercker: