Using 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 readcb-ashik.hashnode.dev
Setup 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 readcb-ashik.hashnode.dev
Create 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...1LJul 1, 2022 · 4 min readcb-ashik.hashnode.dev
React 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 readcb-ashik.hashnode.dev
Introducing 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, ...1LFeb 28, 2022 · 3 min readcb-ashik.hashnode.dev