SyntaxError: Unexpected token ‘<' when importing react component
I am building a react web app and i am getting SyntaxError: Unexpected token ‘<‘ when importing react components that are in an array object from ‘..utils/constants’ .js file.
I am building a react web app and i am getting SyntaxError: Unexpected token ‘<‘ when importing react components that are in an array object from ‘..utils/constants’ .js file.