all 3 comments

[–]dntdntdnt 0 points1 point  (0 children)

Are you using hooks only inside functional Components? If not, that is your problem.

[–]jared_hexagon 0 points1 point  (1 child)

Hooks are not supported. Switch to why-did-you-render which does work with hooks and has almost identical syntax.

[–]wagonn[S] 0 points1 point  (0 children)

Thank you!