Browser APIs

Browser APIs

Posted on

Storage API Local Storage and Session Storage Few Important points: 1-Local Storage never expire.2. Session storage expire when the user closes the browser tab. Each browser tab will have a separate session.3. When you change local Storage data, an event gets fired that you can listen to. If user has open multiple tabs and changes

Read More

Set Up React App with WebPack and Babel

Set Up React App with WebPack and Babel

Posted on

In this blog you will learn to set up a React Application: Using create-react-app Using Webpack, Webpack Dev Server and Babel from scratch I am assuming that you have Node installed already on your system. Using create-react-app We will first install the create-react-app globally. Then we create a project using create-react-app command. npm install -g create-react-app create-react-app projectnamecd projectname npm run

Read More

Attributes and Components in Gutenberg Blocks | RichText | BlockControls | AlignmentToolbar

Attributes and Components in Gutenberg Blocks | RichText | BlockControls | AlignmentToolbar

Posted on

In the previous blog, we learned about how edit and save functions work. They describe the structure of the block’s appearance. However, they only returned simple paragraphs. In this blog, we will learn about how the block’s structure can be changed when the user changes a block State of a block: To achieve dynamic change in the block’s structure when

Read More