helpichiraghelpichirag.hashnode.dev·Apr 24, 2024AutoFetching with custom Hook in React,with useEffect, import React, { useState,useEffect } from 'react'; import axios from 'axios' // In given n seccond this should auto refresh function useTodos(n){ const [todos, setTodods] = useState([]) const [loading, setLoading] = useState(true...DiscussautoFetching
Aryan kadamaryankadam.hashnode.dev·Apr 19, 2024React JS Beginner to Advanced series (4)Before diving into this blog, make sure you've checked out the previous blogs in this series on my profile: ReactJS Beginner to Advanced Series These blogs will provide you with essential knowledge and context for understanding the concepts discussed...DiscussReact
Smit Desaismitd.hashnode.dev·Apr 14, 2024Mastering React RoutingWhenever a STATE VARIABLE is updated, React re-renders the entire component. useEffect's CB function is called only when the entire Component is rendered. The CB Fn. will be executed after every render/re-render (-) useEffect(()=>{ console.log('...Discuss·26 readsswiggy api
Smit Desaismitd.hashnode.dev·Apr 12, 2024React Exploring the WorldMicro-services v/s Monolith Monolith: A huge big project which itself has API code, UI code, Auth Code, DB code, etc. Everything inside a single project. Building & compiling this project itself is huge task here. All developers work on same project/...Discuss·31 readsReact
Aryan Kumararya-amour.hashnode.dev·Apr 5, 2024Exploring Event Handling and useEffect Hook in React.jsIn the world of React, event handling and the useEffect hook are two fundamental concepts that every developer should understand. These powerful tools allow you to create dynamic, interactive, and efficient user interfaces. Let's dive in and explore ...DiscussReact
Piyush NanwaniforAtomxelblog.atomxel.com·Mar 27, 2024The React Hooks you need to knowIn this blog, we'll cover fundamental hooks like useState, useEffect, useRef, and useContext. Then we will talk about custom hooks. React Hooks useState The useState hook allows functional components to manage state. Let's look at a simple example: i...Discuss·1 likeReact
Vedanshivedanshi555.hashnode.dev·Mar 20, 2024Inside useEffect: Understanding React's Essential ToolIn the world of React, managing side effects is crucial to ensure that our applications behave as expected. Side effects can range from fetching data from an API to updating the DOM. React provides a handy tool called useEffect to handle these side e...Discuss·1 likeReact
Amrish Pratap Singhblog.amrishpratapsingh.com·Mar 16, 2024Learning ReactJS: 10 Important Topics of ReactJSLearning ReactJS can be both exciting and problematic for newcomers. As someone who has navigated through the maze of React concepts, I'm here to share my insights and experiences to help you master this powerful library. Understanding JSX At the hea...Discuss·41 readsReactJSHashnode
Hamza Mellahiblog.hmellahi.me·Mar 11, 2024UseEffect Rules, Best Practices, and MisusesUseEffect hook is a useful tool but it should be your Last Resort, consider other alternatives first. We will talk about useEffect Rules, best practices, and when it's overused. Dependency Array Rules INCLUDE : Every state variable, prop, and contex...Discuss·6 likes·186 readsuseEffect
Anshuman Tiwarianshuman-tiwari.hashnode.dev·Mar 11, 2024React Hooks.React Hooks are introduced react 16 with functional component. There are multiple built in react Hooks which we commonly used during application. Let's understand built-in React hook : useState Hook useState is most commonly used hook in a react a...DiscussReactHooks