cb-ashik.hashnode.devUsing localStorage in React and Next.jsWe can't directly access localStorage in React and Next.js. So, for that purpose, here is the custom react hook, that will allow you to access localStorage. import { useEffect, useState } from "react"; export function useLocalStorage<T>(key: string,...Nov 15, 2022·1 min read
cb-ashik.hashnode.devSetup Remote Development EnvironmentIntroduction If you're looking for shifting your work environment from local to remote machine, you're at the right place. In this article, I'll be sharing my experience of setting up a remote development environment. Topics We'll Cover Installing ...Oct 23, 2022·6 min read
cb-ashik.hashnode.devCreate your own Alternative to GitHub CodeSpacesIt's already been a while, since the GitHub have launched CodeSpaces, it is an remote dev environment configured with lot's of preinstalled programs like Node.js, Yarn, PHP, Composer and lot's more. In this tutorial, we're also going to create a simi...Jul 1, 2022·4 min read
cb-ashik.hashnode.devReact authentication using Auth0 and HasuraIn this article, we'll get to know the steps of authenticating a React application using Auth0 and Hasura, and we'll also build a Todo application using Apollo Client. Let's start by configuring Auth0. Configure Auth0 First head over to the auth0 da...Mar 2, 2022·9 min read
cb-ashik.hashnode.devIntroducing Shtr - A open-source, and free URL shortner.Shtr is my submission to the Netlify x Hashnode Hackathon. What is Shtr? Shtr is a powerful, free, open-source, and self hosting url shortner. Shtr includes many pro features like password protection, bot detection (coming soon), qr code generation, ...Feb 28, 2022·3 min read