Skip to content

Commit d98bc19

Browse files
Merge pull request #962 from NullVoxPopuli/changeset-release/main
Release Preview
2 parents 0d3344a + 7874dfe commit d98bc19

File tree

3 files changed

+25
-24
lines changed

3 files changed

+25
-24
lines changed

.changeset/sour-pears-tickle.md

-23
This file was deleted.

ember-resources/CHANGELOG.md

+24
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# ember-resources
22

3+
## 6.3.1
4+
5+
### Patch Changes
6+
7+
- [#960](https://github.com/NullVoxPopuli/ember-resources/pull/960) [`77d54e6`](https://github.com/NullVoxPopuli/ember-resources/commit/77d54e6810a00cf0cb8980210216ebd9ca8e7411) Thanks [@NullVoxPopuli](https://github.com/NullVoxPopuli)! - Resolves: https://github.com/NullVoxPopuli/ember-resources/issues/958
8+
9+
`use`d Resources can now be immediately returned from other resources.
10+
11+
```js
12+
const Clock = resource(({ use }) => {
13+
return use(Instant({ intervalMs: 1000 });
14+
});
15+
16+
const Stopwatch = resource(({ use }) => {
17+
return use(Instant({ intervalMs: 0 });
18+
});
19+
20+
<template>
21+
<time>{{Clock}}</time>
22+
23+
MS since Epoch: {{Stopwatch}}
24+
</template>
25+
```
26+
327
## 6.3.0
428
529
### Minor Changes

ember-resources/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ember-resources",
3-
"version": "6.3.0",
3+
"version": "6.3.1",
44
"keywords": [
55
"ember-addon"
66
],

0 commit comments

Comments
 (0)