Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 06-22-2022, 04:20 AM   #1
sahithya
Registered User
 
Join Date: Feb 2013
Location: Bangalore
Posts: 1,119
Custom Hooks In React

Building custom hooks in React is always a good idea if it helps you avoid repeating code!

Custom hooks make life easier for us when we have to build the functionality that can be stored inside a utility, spending time to come up with a great hook will save you lots of time in the future!
sahithya is offline   Reply With Quote

Old 06-22-2022, 04:48 AM   #2
quantumleap
Registered User
 
Join Date: Jan 2016
Location: Hyderabad
Posts: 4,287
Custom Hooks In React

Custom Hooks are a mechanism to reuse stateful logic (such as setting up a subscription and remembering the current value), but every time you use a custom Hook, all state and effects inside of it are fully isolated.
quantumleap is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reliable Custom Logo Design Service From TEMOK at Very Low Price | Unlimited Revision tk-hassan Post your ad here 0 01-09-2018 04:24 AM
What should one use for plugin development — custom post types or custom database tab designpluzindia Wordpress Themes 0 12-05-2017 05:00 AM
Custom Magento Extension Development VictorHill General Discussion 0 01-04-2017 01:26 AM
custom kitchen cabinets indian wells galvin113 The Market 4 10-26-2013 02:12 AM
US/NL/DE/UK : Budget Dedicated servers : Free Set Up : Custom Solutions : From $49 hostaddonltd Post your ad here 0 04-21-2012 05:56 AM


All times are GMT -7. The time now is 11:21 PM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.