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

Add RSC support #23

Merged
merged 2 commits into from
Mar 6, 2024
Merged

Conversation

GoodPassiveMan
Copy link
Contributor

@GoodPassiveMan GoodPassiveMan commented Mar 1, 2024

I tried to use this wonderful library, but unfortunately it doesn't work with RSC. Fortunately, I fixed this by removing useRef.

Open to any discussion and suggestions.

@GoodPassiveMan GoodPassiveMan marked this pull request as ready for review March 1, 2024 23:44
@sibiraj-s
Copy link
Owner

Changes seems okay, the reason why the instance is initialized inside is later it could initialize with option that might be from the props. Wondering it will be needed 🤔

@GoodPassiveMan
Copy link
Contributor Author

@sibiraj-s hey, do you think you can merge it or should I do something before it?

@sibiraj-s
Copy link
Owner

Lets merge this, I will figure out stuffs later.

Copy link
Owner

@sibiraj-s sibiraj-s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay. LGTM

@sibiraj-s sibiraj-s merged commit 92a53b4 into sibiraj-s:master Mar 6, 2024
1 check passed
@GoodPassiveMan GoodPassiveMan deleted the feat/rsc-support branch March 6, 2024 10:45
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.

2 participants