Skip to content

Cannot redefine property: create when using react-canvas-confetti in nextjs 14 app router #17

@FryderykDoSomething

Description

@FryderykDoSomething

Just use the component in Nextjs and it will cause the TypeError right away.
Next 14.03
React 18.2
using client component, even with true client hack (setting state variable on useEffect mount).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions