DEV Community

Discussion on: useEffect firing twice in React 18

Collapse
 
shivamjjha profile image
Shivam Jha

Yeah, exactly. AlthoughfilteredItems above is technically not a state variable, but a derived value.