-
Notifications
You must be signed in to change notification settings - Fork 98
DO NOT MERGE - ongoing MR to update all react examples #821
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
setRandomNumber(Math.random()); | ||
console.log(randomNumber); | ||
}, 3000); | ||
+ },[]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+ React.useEffect(()=>{
+ setTimeout(() => {
+ setRandomNumber(Math.random());
+ console.log(randomNumber);
+ }, 3000);
+ },[])
setRandomNumber(Math.random()); | ||
console.log(randomNumber); | ||
}, 3000); | ||
+ },[]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+ React.useEffect(()=>{
+ setTimeout(() => {
+ setRandomNumber(Math.random());
+ console.log(randomNumber);
+ }, 3000);
+ },[])
|
||
# Paso a paso | ||
|
||
- Antes que nada nos instalamos todos los paquetes necesarios del boiler plate ejecutando _npm install_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
boilerplate
|
||
|
||
|
||
Boiler plate extracted from _02-base/02-vite-react_. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Boilerplate
./react-hooks/18-use-promise
.