Skip to content

reactRender is not a function when using Antd with NextJS App Router #606

@baoanh177

Description

@baoanh177

I'm initializing a NextJS AppRouter project with Antd. I've been looking for a solution but can't find it, can anyone help me, pls.

  • Here are project dependencies:
    image

  • src/app/layout.tsx
    image

  • src/app/page.tsx
    image

It works until I click the button, console.log() ran but with errors
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions