-
Notifications
You must be signed in to change notification settings - Fork 46
Datastore network indicator (fixes #1069) #1070
Conversation
Published |
@@ -16,7 +16,7 @@ | |||
"@types/react-dom": "^16.9.0", | |||
"antd": "~4.4.1", | |||
"graphql.macro": "^1.4.2", | |||
"offix-datastore": "0.3.17", | |||
"offix-datastore": "0.3.19", |
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.
Let's do 0.4.0 :D
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.
Awesome will do that now
examples/react-datastore/src/App.tsx
Outdated
} | ||
setReplicating(!replicating) | ||
} | ||
// const toggleReplication = () => { |
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.
Why this is disabled
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.
Oh should have deleted. I removed it now because I have the change in network status stopping and starting the replication automatically
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.
That should happen anyway in the core right?
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.
Yeah, this is more for the OVP stuff, because turning switching to offline mode in chrome doesn't really stop the replication or subscriptions from coming in.
Description
Checklist
npm test
passesnpm run build
works