Closed llqfront closed 1 year ago
Most of the time this is a version conflict.
You can specify react as external if you're using esm.sh, that should solve your issue
eg on importMap.json:
"react-redux": "https://esm.sh/react-redux@8.0.5?external=react",
"@reduxjs/toolkit": "https://esm.sh/@reduxjs/toolkit@1.9.3?external=react",
Most of the time this is a version conflict.
You can specify react as external if you're using esm.sh, that should solve your issue
eg on importMap.json:
"react-redux": "https://esm.sh/react-redux@8.0.5?external=react", "@reduxjs/toolkit": "https://esm.sh/@reduxjs/toolkit@1.9.3?external=react",
I've switched to other issues, but I still can't get it to work. What do you use for state management when you use ultra? Don't you use redux? Or is there something else you can recommend?
Most of the time this is a version conflict.
You can specify react as external if you're using esm.sh, that should solve your issue
eg on importMap.json:
"react-redux": "https://esm.sh/react-redux@8.0.5?external=react", "@reduxjs/toolkit": "https://esm.sh/@reduxjs/toolkit@1.9.3?external=react",
Well, because of my introduction path problem Also, I used recoil, which is also OK. Thank you very much