After working on React for a while, it has been through a paradigm shift from class components to functions and hooks, the best practice is constantly changing. However, after research based on my learning from the comm
Read More...
Play Tetris Game
Yet another React TetrisTetris was created in 1984, it is a simple game in which the player controls the falling “tetromino”, and clears them by combining tetromino into one line. It is one of the most
Read More...
Have you heard from the recruiters or internet memes, talking about a special kind of engineer, called 10x engineer?Rumor says those engineers can write 10x more code than their coworkers, and get 10x more jobs done. At
Read More...
Recently I am working with GraphQL on a day-to-day basis. The more I work with it, the more I like the GraphQL API compared to the traditional Restful API. And it is an interesting project, this article is going to do a
Read More...
TLDR: Suspend can catch Promise from children and render fallback until the promise is resolved.
In React 16.6, React is adding the Suspense component that it can render fallback while the app is loading javascript or f
Read More...
Integration test, system test, or end to end test in web development are a really helpful tool to make sure the application work as intended. Because it actually simulates a real browser and tests the application just l
Read More...
State management in frontend is always a problem. Unlike backend, the state in frontend world is pretty fragmented. Not only the local state at each component, the remote state from API, also the global state that is sh
Read More...
TLDR: Inline abstractions and simplify logic to write better code.
Programmer’s work today is based on different levels of abstractions in the form of APIs and modules, they hide large amounts of implementation detail
Read More...
There is a lot of article talking about mistakes made by junior developers. But as the experience goes, people encounter different problems and make different mistakes. Here I am talking about some of the mistakes I mad
Read More...
Why?Recently I have a chance to work on mass among of rake tasks in the code base. During the work I found Rake is somewhat confusing but also an interesting framework. I would like to talk about some of the good and bad
Read More...