I chose Gmail as ghost website’s SMTP server because it is free. I bet those who are reading this article think the same!
Continue readingMock useDispatch in jest
This article addresses how to mock useDispatch in test code. Moreover, it suggests a solution to action that references an anonymous function.
Continue readingShadow DOM
The purpose of Shadow DOM encapsulation is to prevent the “component styles” from affecting non-shadow nodes.
Continue readingTechnical interview for a React dev
In January, I’ve been through so many technical interviews. Those questions tend to be about JavaScript, React, and browser APIs.
Continue readingXHR – request without promises
XHR (XMLHttpRequest) is one of the web APIs that allows browsers to interact with servers. Fetch API was introduced and deprecated the use.
Continue readingReact – things you should know about useEffect
The common misusages can result in an infinite rendering of a component, not updating states, or not rendering the components.
Continue readingIntersection Observer API – Lazy loading
Intersection observer API can observe whether the elements are located within or at the intersection of the viewport.
Continue readingFlutter – Don’t Rely Too Much on Type Inference
My recommendation is always try to provide variables with types because type inference ends up using dynamic type when the analyzer doesn’t have enough information to infer a specific type.
Continue readingImportant skills as a developer other than coding
I’d like to introduce the important skills as a developer other than coding, which I wanted to realize much earlier.
Continue readingTechnical Writing Tips
The purpose of documentation is to leave helpful note for people who look at the code for the first time or later in a long time.
Continue reading