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 for React Server Components? #251

Closed
2 tasks done
FezVrasta opened this issue Dec 9, 2024 · 5 comments · Fixed by #252
Closed
2 tasks done

Support for React Server Components? #251

FezVrasta opened this issue Dec 9, 2024 · 5 comments · Fixed by #252
Labels
enhancement New feature or request issue-accepted

Comments

@FezVrasta
Copy link

FezVrasta commented Dec 9, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Code of Conduct

  • I agree to follow this project's Code of Conduct

Feature Request

It would be really nice if this worked with RSC, syntax highlighting should not involve client side rendering.

@carbonrobot carbonrobot added enhancement New feature or request issue-accepted labels Dec 9, 2024
@carbonrobot
Copy link
Contributor

Primarily, the theme provider prevents this today, but there may be a way around this.

import { useEffect, useRef, useState } from "react"

@FezVrasta
Copy link
Author

Thanks for the quick update!

@FezVrasta
Copy link
Author

@nlkluth when do you plan to release this change?

@carbonrobot
Copy link
Contributor

@FezVrasta I'm creating an alpha release package and doing some external testing this morning. I hope to have a release by the end of the day.

@carbonrobot carbonrobot reopened this Dec 10, 2024
@carbonrobot
Copy link
Contributor

Released in 2.4.1

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

Successfully merging a pull request may close this issue.

2 participants