-
-
Notifications
You must be signed in to change notification settings - Fork 454
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
What is the example you wish to see?
I want to run a function every time the value of a variable changes, but when I try to run it like
`import {useState,useEffect} from 'react'
const [data,setData] = useState("")
console.log(data)
console.log('hi')
export{},`
nothing is output to the console. How do I change the code?
Is there any context that might help us understand?
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
- I checked the current issues for duplicate problems.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation