react
Posts
Extend Window type with Typescript
Some of the object properties or functions are not available in the Typescript Window type. Let see a way to extend the Window type with the missing properties.
Gatsby + Netlify CMS + TailwindCSS Starter
Just created a new starter coming from some of my website development and powered with Gatsby.
How to get a React element as an HTML string
For use cases, you may want to have the generated HTML string from your React component instead of a mounted component rendered on the page. The simplest way is to use the renderToString function provided by the react-dom package.
How to manage Internationalization with NextJS SSG
Staticaly generating a website with the NextJS framework in different languages is not so obvious.
How to render emojis with JavaScript
For the content of your posts, emojis add some fun to your pages. This short post explains how to make that possible in JavaScript.