#web

Masonry layout using only CSS

Creating masonry layout using only CSS without any Javascript

Feb 06, 2022

Indexable object in typescript

Using dynamic object key without typescript giving "No index signature with a parameter of type string was found on type" error

Oct 25, 2020

Next.js + Redux without disabling prerendering (Updated)

Integrating redux to your server-side rendered application in nextjs while preserving prerendering

Feb 02, 2020

What are controlled components in React?

Difference between controlled and uncontrolled components in React and what can you do with it

Dec 15, 2019

Dark mode for the web

Enable dark mode for your users using prefers-color-scheme media query

Nov 24, 2019

Dispatching redux actions from getInitialProps

Executing redux actions, and the getting access to redux state in nextjs

Oct 27, 2019

Destructuring javascript objects into custom variables names and default values

With object destructuring syntax in ES6, it makes it more straightforward to get values from an object.

Oct 19, 2019

Different ways to get your react project started

Ways to start building your react application based on what you want to achieve

Sep 12, 2019

Difference between forEach and map in javascript

When you should use forEach/map array methods

Aug 24, 2019

Next.js + Redux

Integrating redux to your server side rendered application in nextjs

Aug 11, 2019

Using locally hosted fonts on your website

Simple steps to host custom fonts locally and use them on your website

Jul 07, 2019

Nifty Javascript methods that will make your life easier

Ten javascript methods discussed

Jul 02, 2019

Hosting static sites on gh-pages with custom domains

Simple steps for deploying static sites with custom domain on Github

Apr 17, 2019