Skip to content
New issue

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

Support server component #102

Open
Bunlong opened this issue Aug 8, 2023 · 3 comments
Open

Support server component #102

Bunlong opened this issue Aug 8, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@Bunlong
Copy link
Owner

Bunlong commented Aug 8, 2023

Feature

Enable to use/import in server component.

@Bunlong Bunlong self-assigned this Aug 8, 2023
@Bunlong Bunlong added the enhancement New feature or request label Aug 8, 2023
@Pavlusha311245
Copy link

A much-needed change

@yanok87
Copy link

yanok87 commented Jan 19, 2024

Please make usable on Nextjs 14 ssr pages

@parkerproject
Copy link

This is how I am currently using it


import dynamic from 'next/dynamic';

const NextShareComponent = dynamic(() => import('../components/NextShareComponent'), { ssr: false });

function MyPage() {
    return (
        <div>
            <ClientOnlyComponent />
        </div>
    );
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants