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

make SSR compatible by loading cropperjs lazily #54

Merged
merged 1 commit into from Dec 2, 2016

Conversation

@gfx
Copy link
Contributor

@gfx gfx commented Dec 2, 2016

cropperjs is not server-side rendering compatible.

With this PR cropperjs is loaded lazily so it should be SSR safe.

@gfx gfx changed the title make SSR compatible to load cropperjs lazily make SSR compatible by loading cropperjs lazily Dec 2, 2016
@roadmanfong roadmanfong merged commit cb02aaa into react-cropper:master Dec 2, 2016
@gfx gfx deleted the gfx:ssr branch Dec 3, 2016
@gfx
Copy link
Contributor Author

@gfx gfx commented Dec 3, 2016

Thanks. v0.10.0 works on my SSR app.

@roadmanfong
Copy link
Collaborator

@roadmanfong roadmanfong commented Dec 3, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.