Kangrui Ye

Latest posts by Kangrui Ye

Frontend & Mobile

You might not want Rxjs

State management solutions are usually tied to some change propagation mechanism. This comes from what the framework supports most of the time. So for Angular, it would be Rxjs and the composition API for Vue.js. React does not directly enforce a solution onto you, thus leaving a lot of room of exploration to the user. […]

February 10, 2023

Read more
ASCII art of a cow with the caption Moo Moo Mootations above it. Perfect for illustrating concepts like Handling Mutations, the cow has a face, horns, and a tail made with keyboard characters, and stands under a line of dashes.
Backend & Architecture

Handling Mutations

Required reading: https://engineering.cloudflight.io/defining-boundaries A big part of what makes up complexity are side effects. The challenge with them is the (semi) non-deterministic behavior of their execution. A network call can give me the data I want on success, or error out with any of the multiple error codes it can have. Mutations can completely destroy […]

January 3, 2023

Read more
Bookshelves filled with various old and colorful hardcover books stacked vertically and horizontally, creating a cozy and classic library atmosphere reminiscent of a well-organized folder structure.
Backend & Architecture

Cutting the Folder Structure

How to organize the files can be quite confusing when starting in programming, especially when the code base grows and the existing structure cannot manage that much content anymore. Value of Having Structure Why does it matter to us? Modern editors have file search implemented, and we can simply use that to find our files, […]

December 29, 2022

Read more