We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to fetch dynamically imported module when trying to access a remote app from the host using the NX workspace, yarn, React, and Vite
Failed to fetch dynamically imported module: http://localhost:3001/node_modules/.vite/packages/twenty-front/deps/react.js?v=206b7b18
When using React-based hooks, I'm getting the error if not using then its works fine
https://github.com/twentyhq/twenty use this git
const Button: React.FC = () => {
return ( <button style={{ padding: '10px', fontSize: '16px' }} onClick={() => console.log('Button clicked23')} > I'm Remote! ); }; Not Working import React, { useEffect } from 'react';
const Button: React.FC = () => { useEffect(() => { console.log('Button mounted'); }, []);
return ( <button style={{ padding: '10px', fontSize: '16px' }} onClick={() => console.log('Button clicked23')} > I'm Remote! ); };
https://github.com/twentyhq/twenty use this git create a remote-app and try to import in app getting error when trying to use react hooks
need to render react hook and all other packages
not able to use react based hooks getting error Failed to fetch dynamically imported module: http://localhost:3001/node_modules/.vite/packages/twenty-front/deps/react.js?v=206b7b18
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Failed to fetch dynamically imported module when trying to access a remote app from the host using the NX workspace, yarn, React, and Vite
Failed to fetch dynamically imported module: http://localhost:3001/node_modules/.vite/packages/twenty-front/deps/react.js?v=206b7b18
When using React-based hooks, I'm getting the error if not using then its works fine
Versions
Reproduction
https://github.com/twentyhq/twenty use this git
Additional Details
**Working**
import React, { useEffect } from 'react';
const Button: React.FC = () => {
return (
<button
style={{ padding: '10px', fontSize: '16px' }}
onClick={() => console.log('Button clicked23')}
>
I'm Remote!
);
};
Not Working
import React, { useEffect } from 'react';
const Button: React.FC = () => {
useEffect(() => {
console.log('Button mounted');
}, []);
return (
<button
style={{ padding: '10px', fontSize: '16px' }}
onClick={() => console.log('Button clicked23')}
>
I'm Remote!
);
};
Steps to reproduce
https://github.com/twentyhq/twenty use this git
create a remote-app and try to import in app
getting error when trying to use react hooks
What is Expected?
need to render react hook and all other packages
What is actually happening?
not able to use react based hooks
getting error
Failed to fetch dynamically imported module: http://localhost:3001/node_modules/.vite/packages/twenty-front/deps/react.js?v=206b7b18
The text was updated successfully, but these errors were encountered: