-
-
Notifications
You must be signed in to change notification settings - Fork 555
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
Binding { type: 'once', ... } fires Query.off which returns an error #36
Comments
Just to confirm I get the reproduction of the problem right, which version are you using? |
v1.1.5 |
Try |
Merged
Fix works. |
Great to hear! Planning on releasing |
prescottprue
added a commit
that referenced
this issue
Jan 23, 2017
## Breaking Changes - Data gathered during population is now normalized in redux [following defined redux practice of normalizing](http://redux.js.org/docs/recipes/reducers/NormalizingStateShape.html) (instead of placed directly into nested object). **THIS BREAKS v1.1.5 AND EARLIER IMPLEMENTATIONS OF POPULATE**. Now population will require the usage of `populatedDataToJS`. - `populatedDataToJS` function added to helpers (returns data populated from normalized state) - `profileDecorator` config option renamed to `profileFactory` for clarity (`profileDecorator` still supported, but will throw deprecation warning) - default file metadata written to database includes `downloadURL` instead of `downloadURLs` array - Meta values (`timestamp`, `requesting`, `requested`) are now stored by string key (keeps invalid keyPath error from showing up) - `enableRedirectHandling` config param added to enable/disable auth redirect handling (enabled by default, which can cause breakage in none HTTP/HTTPS environments) ## Enhancements - `once` queries no longer cause `off` error due to unmounting non existent listener (fixes #36) - login with auth redirect no longer returns null and other redirect handling improvements (#33) - deep set `invalid keyPath` error fixed in data section of reducer (deep list is null first then has value) - `fileMetadataFactory` config option added to allow control of metadata written to database when using `uploadFile` and `uploadFiles` - Profile Params Populate now working for both object and string notation - Config params type validation - Roadmap updated with `v2.0.0` plans - `profileDecorator` backwards compatibility is included (with a deprecation warning) - `CODE_OF_CONDUCT.md` and `PATRONS.md` added - Docs + Tests updated
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there!
I get an error after binding the data once, like this:
Below is the error I get:
I figure this is because 'once' does not have any watchers which should be unset. However, couldn't find a fix in the code. Would appreciate your help on this one!
The text was updated successfully, but these errors were encountered: