Break out m.sync removal, it's important

This commit is contained in:
Pat Cavit 2016-12-02 10:43:47 -08:00 committed by GitHub
parent 54599d9675
commit c551ffb206

View file

@ -17,6 +17,7 @@
- [Accessing route params](#accessing-route-params)
- [Preventing unmounting](#preventing-unmounting)
- [`m.request`](#mrequest)
- [`m.sync` removed](#msync-removed)
- [`xlink` namespace required](#xlink-namespace-required)
- [Nested arrays in views](#nested-arrays-in-views)
- [`vnode` equality checks](#vnode-equality-checks)
@ -25,7 +26,7 @@
## `m.prop` removed
In `v1.x`, `m.prop` is now a more powerful stream micro-library, but it's no longer part of core.
In `v1.x`, `m.prop()` is now a more powerful stream micro-library, but it's no longer part of core.
### `v0.2.x`
@ -475,7 +476,13 @@ setTimeout(function() {
}, 1000)
```
The equivalent of `m.sync` is now `Promise.all`
Additionally, if the `extract` option is passed to `m.request` the return value of the provided function will be used directly to resolve its promise, and the `deserialize` callback is ignored.
---
## `m.sync` removed
`m.sync` has been removed in favor of `Promise.all`
### `v0.2.x`
@ -501,8 +508,6 @@ Promise.all([
})
```
Additionally, if the `extract` option is passed to `m.request` the return value of the provided function will be used directly to resolve its promise, and the `deserialize` callback is ignored.
---
## `xlink` namespace required