it updates it self with the useMemo's dependencies array [router.asPath, router.pathname, router.query, getTextGenerator, getDefaultTextGenerator]
I think you could take off the router.query from the dependencies since the router.query is an object and will not know if the values of that object are changing but will have to try that
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.
it updates it self with the useMemo's dependencies array [router.asPath, router.pathname, router.query, getTextGenerator, getDefaultTextGenerator]
I think you could take off the router.query from the dependencies since the router.query is an object and will not know if the values of that object are changing but will have to try that