-
Notifications
You must be signed in to change notification settings - Fork 2
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
Replaced object-hash with hash-sum to hopefully get a more determinis… #1
Replaced object-hash with hash-sum to hopefully get a more determinis… #1
Conversation
a066cf4
to
c83b4e0
Compare
@@ -35,7 +35,7 @@ Object { | |||
}, | |||
Object { | |||
"state": Object { | |||
"fc7e58063ef49874aea8e2210fc7a6a2f9836f52": Object { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is basically the issue, this hash should
be the same on client and server, and it is for all browsers except IE11. This new library is far simpler, smaller and hopefully faster.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will be interested to see if this fixes some of the random issues we've had in IE11 between the SSR and client side render.
src/data-provider.tsx
Outdated
|
||
export interface Props { | ||
initialState?: DataLoaderState | ||
onEvent?: (event: DataProviderEvents) => void | Promise<any> | ||
isServerSideRender?: boolean | ||
resources: DataLoaderResources<any> | ||
globalProps?: object | ||
/** Override the object hasing function */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hashing
🎉 This PR is included in version 1.0.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
…tic hash