When calling useTheme hook from @mui/material, this throws an error. Shared dependencies On host side : On remote side : Versions vite-plugin-federation: 1.3.5 vite: 5.2.8 @emotion/react: 11.11.4 @emotion/styled: 11.11.5 @mui/material: 5...
Reproduction Vite config of the host app export default defineConfig({ plugins: [ react(), federation({ name: "my-apps", remotes: { dummy: "", //Need to provide some dummy declaration; https://github.com/originjs/vite-plugin-federation/discussions/159#discussioncomment-7633645 }, shared: ...
Adding React Framer Motion animations to an Astro site Jun 3, 2024 Use React component in Astro Oct 30, 2023 Fix Uncaught Error Objects are not valid as a React child Mar 27, 2023 Fix the “Objects are not valid as a React child” error Feb 27, 2023 Using Vite to create a ne...
"preview": "vite preview" }, "dependencies": { "react": "^18.2.0", "react-dom": "^18.2.0" }, "devDependencies": { "@types/react": "^18.2.14", "@types/react-dom": "^18.2.6", "@typescript-eslint/eslint-plugin": "^5.61.0", "@typescript-eslint/parser": "^5.61.0", ...
"@vitejs/plugin-react@^1.3.0": version "1.3.2" resolved "https://registry.yarnpkg.com/@vitejs/plugin-react/-/plugin-react-1.3.2.tgz#2fcf0b6ce9bcdcd4cec5c760c199779d5657ece1" integrity sha512-aurBNmMo0kz1O4qRoY+FM4epSA39y3ShWGuqfLRA/3z0oEJAdtoSfgA3aO98/PCCHAqMaduLxIxErWrVKI...
React module federation gives __federation_shared_react-dom-6fc2ee8d.js:224 TypeError: Cannot read properties of null (reading 'useContext') at react_production_min.useContext (__federation_shared_react-af90d75c.js:59:144) Is it due to the removal of singleton option in shared? Author Elvis...
React Alert - (with Normal, Error, Success Type) Overview This project provides a simple and customizable solution for displaying various style toast notifications in React using Vite written with TypeScript, without relying on external UI libraries. The implementation utilizes React hooks, such as ...