I am trying to finish the Front end development libraries certification, however I cannot import libraries like react and redux without getting errors
Uncaught SyntaxError: The requested module 'https://esm.sh/react-redux' does not provide an export named 'default' (at pen.js:83:8)
how do i solve this?
The import you get on Codepen can be wrong. In this case, the package does not have a default export. One option is to use
* and alias it.
import * as reactRedux from "https://esm.sh/react-redux";
As an aside, I would suggest using Stackblitz or Codesandbox instead for framework/library code.