snippetuseStateHandler
React hooks that enables you to choose localStorage or sessionStorage as the saving destination of the state.
Cloudflare pages is much faster than Netlify
This blog was built on Gatsby and hosted on Netlify. One day I just came across the idea that Cloudflare might be faster...
Only await the result not the asynchronous function itself
When you use await for calling API, better use await to wait for the result to be finished, don’t wait for the API funct...
snippetMulti-stage Dockerfile for Go App
Best practice for multi-state dockerfile for Go app
Integrate Stylelint with Prettier and Styled-components
What is Stylelint? Stylelint is literary a linter for CSS. It checks your CSS based on setting rules and formats them if...
Update serial value to avoid duplicate key error (Postgres)
While working with Postgres, I met the following error. Even though I had set SERIAL to Author.ID (SERIAL enables Postgr...
Next CMS, What is Headless CMS
What is CMS? CMS stands for “Content management system”. It is widely used for managing and publishing content on web me...