Skip to content

'use client' #1049

Open
Open
@clementroche

Description

@clementroche

Hi, I'm the maintainer of react-lenis package and some people complain about using the library in next.js app context usage.
In fact it requires 'use client' directive on top of the file but I noticed that it's ignored by microbundle "Module level directives cause errors when bundled, 'use client' was ignored."
Do you have a solution for that ?

https://github.com/studio-freight/lenis/issues/170

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