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

React hot loader compatibility #1

Conversation

connorzg
Copy link
Contributor

@connorzg connorzg commented Jul 16, 2018

See same issue from old repo glittershark/reactable#338

Tables currently won't render currently with react v16+ and RHL

parseChildData() compares functions directly, but React hot loader swaps out functions in memory meaning an inequality when determining type. This PR transitions type parsing to function string comparison.

With this PR it no longer matters where the function lives in memory.

glittershark/reactable#338
@connorzg
Copy link
Contributor Author

@abdulrahman-khankan are you an active PR reviewer on this repo? I don't see any default reviewers.

@abdulrahman-khankan
Copy link
Owner

@connorzg thank you for the PR 😃, I am just waiting for the weekend to look at it.

@abdulrahman-khankan abdulrahman-khankan merged commit e4eebcb into abdulrahman-khankan:master Jul 30, 2018
@abdulrahman-khankan
Copy link
Owner

@connorzg Thank you for the PR. I have merged it, but currently there are problems with publishing to npm (their side). I will upload a new version there as soon as their service is back to normal.

@abdulrahman-khankan
Copy link
Owner

@connorzg it is now available from the npm registry with v1.1.0.

@connorzg
Copy link
Contributor Author

Thanks @abdulrahman-khankan! This resolved the bug and our development process is fixed :)

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