Skip to content

useUpdateEffect needed #442

@soxft

Description

@soxft

I usually use UseEffect when I need to listen for a variable update, but it is also called when the page is first rendered.

Describe the solution you'd like
Now I usually use useRef to determine if the useEffect is the first call.

*Describe alternatives you've considered
May be we need some kind of Syntactic sugar like in react

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions