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
From documentation:
Step 7 Go to the src/pages folder and create a new, standalone file with name of your component (for example MyComponent.tsx).
This does't work in App Router mode. The production build (npm run build) fails with error:
npm run build
TypeError: Cannot read properties of undefined (reading 'forwardRef')
I think that correct place for the MyComponent.tsx is the src/components folder.
MyComponent.tsx
The text was updated successfully, but these errors were encountered:
Hi, it can be a workaround for now. If some of our components have a problem with forwardRef during the build, you can create a component for them.
forwardRef
Sorry, something went wrong.
Thank you, @iprzybysz
you can create a component for them.
@iprzybysz, Do you mean: you can create an issue for them?
You could organize it by placing it in the src/components directory, and create components there that encapsulate specific TWE component.
src/components
No branches or pull requests
From documentation:
This does't work in App Router mode. The production build (
npm run build
) fails with error:I think that correct place for the
MyComponent.tsx
is the src/components folder.The text was updated successfully, but these errors were encountered: