Skip to content
  • AI
  • Github

Scratch that

Bite sized bits

  • AI
  • Github
  • ⤫

Browsing Category Front-end

How to create a react components library with storybook?

Here are the steps to create a React components library with Storybook: Create a new project using the create-react-app command. This will create a new project with a basic React app, including all the necessary dependencies and scripts. Copy code npx create-react-app my-components-library Install the @storybook/react package. This package contains the necessary tools to build

Posted by Posted on
0

React lifecycle hooks in functional components

Introduction In React, components can be defined as functions or classes. Function components, also known as stateless components, are components that are defined as JavaScript functions. They do not have a state or lifecycle methods, but they can still be customized using special functions called life cycle hooks. Life Cycle Hooks Life cycle hooks are

Posted by Posted on
0

React Render Cycle

Introduction React is a popular JavaScript library for building user interfaces. It allows developers to create reusable components that can be easily composed to build complex applications. In React, the render cycle is the process by which a component updates its output in response to changes in its state or props. The Render Cycle The

Posted by Posted on
0

Using TypeScript with React

Introduction React is a popular JavaScript library for building user interfaces. It allows developers to create reusable components that can be easily composed to build complex applications. TypeScript is a programming language that is a superset of JavaScript. It adds optional static typing and other features to JavaScript, allowing developers to write type-safe code and

Posted by Posted on
0

TypeScript is 4.9.4 What’s new?

Introduction TypeScript is a popular programming language that is a superset of JavaScript. It adds optional static typing and other features to JavaScript, allowing developers to write type-safe code and catch errors at compile time. The latest version of TypeScript is 4.9.4, which includes several new features and improvements. New Features One of the major

Posted by Posted on
0

Typescript basics

Introduction to TypeScript TypeScript is a programming language that is a superset of JavaScript. This means that all valid JavaScript code is also valid TypeScript code. In addition to the features of JavaScript, TypeScript includes optional static typing, classes, and interfaces. This allows developers to write type-safe code and catch errors at compile time, rather

Posted by Posted on
0

Javascript Closure

Introduction In JavaScript, a closure is a function that has access to the variables and scope of its outer function, even after the outer function has returned. This allows the closure to retain its state and continue to operate, even after its outer function has finished executing. Example Here is an example of a closure

Posted by Posted on
0

Posts pagination

Page 1 Page 2
  • Algorithms
  • Front-end
  • Javascript
  • Philosophy
  • Project Management
  • Psychology
  • Science
  • Technology
  • Uncategorized
Copyright © 2025 - Scratch that // By - Deepak Anandrao