Skip to content

Commit

Permalink
Merge pull request #962 from NullVoxPopuli/changeset-release/main
Browse files Browse the repository at this point in the history
Release Preview
  • Loading branch information
NullVoxPopuli authored Jul 26, 2023
2 parents 0d3344a + 7874dfe commit d98bc19
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 24 deletions.
23 changes: 0 additions & 23 deletions .changeset/sour-pears-tickle.md

This file was deleted.

24 changes: 24 additions & 0 deletions ember-resources/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# ember-resources

## 6.3.1

### Patch Changes

- [#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

`use`d Resources can now be immediately returned from other resources.

```js
const Clock = resource(({ use }) => {
return use(Instant({ intervalMs: 1000 });
});

const Stopwatch = resource(({ use }) => {
return use(Instant({ intervalMs: 0 });
});

<template>
<time>{{Clock}}</time>

MS since Epoch: {{Stopwatch}}
</template>
```
## 6.3.0
### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion ember-resources/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ember-resources",
"version": "6.3.0",
"version": "6.3.1",
"keywords": [
"ember-addon"
],
Expand Down

0 comments on commit d98bc19

Please sign in to comment.