Uh oh!
There was an error while loading. Please reload this page.
Warn about using deprecated features - #228
Conversation
nateps
commented
Aug 1, 2018
Thanks, @gkubisa! Great idea to notify users about feature deprecation. I think we should start following this example with other breaking changes in ShareDB. 👍 |
stanographer
commented
Dec 18, 2018
I'm following this thread but I'm still not exactly sure how to get rid of these warnings. As far as I can tell these warnings are originating from the actual source code itself, and not the way I'm implementing ShareDB? Could someone please enlighten me? Thanks!! |
alecgibson
commented
Dec 18, 2018
@stanographer as the warning says, pass the |
curran
commented
Dec 19, 2018
@stanographer It was not obvious to me either, exatly where/how these options should be pased in. It turns out they need to be passed as properties of the object passed as the first argument to the constbackend=newShareDB({// The following options serve only to squelch errors.// It should be possible to remove these when ShareDB 1.0 is released.disableDocAction: true,disableSpaceDelimitedActions: true});constconnection=backend.connect(); |
I've also removed
docfrom README.md because the other deprecated action, "after submit" was not there either.