Hooks are awesome, just imagine implementing the same with HOC π Btw checkScreenSize might be declared const and even moved to inside the effect π
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hooks are awesome, just imagine implementing the same with HOC π Btw
checkScreenSize
might be declaredconst
and even moved to inside the effect π