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
Current behavior:
type Error Occurs after v11.13.3
const withAuth = <P extends object>(WrappedComponent: NextPage<P>) => { const AuthComponent = (props: P) => { ...my logic return <WrappedComponent {...props} />; } }
Expected behavior:
Type Error is fixed , if it's not error. is there any method to solve this type error?
Environment information:
react
@emotion/react
The text was updated successfully, but these errors were encountered:
I can confirm that v11.13.3 breaks this previously working pattern.
function render<P>(Component: React.ComponentType<P>, props: P) { return <Component {...props} /> }
Sorry, something went wrong.
No branches or pull requests
Current behavior:
type Error Occurs after v11.13.3
Expected behavior:
Type Error is fixed , if it's not error. is there any method to solve this type error?
Environment information:
react
version: 18.3.1@emotion/react
version: 11.13.3The text was updated successfully, but these errors were encountered: