I am getting this error when using the useState hook. I have this in it\'s basic form, looking at the react docs for a reference, but am still getting this erro
useState
Had the same issue. My problem was related to React Router. I had accidentally used
instead of