In your step 2 I would possible memoize the values your passing to your provider for perfomance optimization. The object will always be recreated when the app component renders, which would cause all the children utilizing the context to re-render.
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.
const contextValue = useMemo(() => {
return { counterCount: count, counterDispatch: dispatch };
}, [count, dispatch]);
In your step 2 I would possible memoize the values your passing to your provider for perfomance optimization. The object will always be recreated when the app component renders, which would cause all the children utilizing the context to re-render.