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

Implement compatibility with SSR #30

Merged
merged 3 commits into from
May 18, 2024

Conversation

ArtyomVancyan
Copy link
Member

Motivation:

I added the use client directive to the source files so the interpreter knows where it should be run. This makes the library compatible with applications using SSR, such as NextJS.

All Submissions:

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Changes to Core Features:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you updated the documentation related to the changes you have made?
  • Have you written new tests for your core changes, as applicable?
  • Have you successfully run tests with your changes locally?

@ArtyomVancyan ArtyomVancyan merged commit 2e7aad2 into typesnippet:master May 18, 2024
9 checks passed
@ArtyomVancyan ArtyomVancyan deleted the ssr-support branch May 18, 2024 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant