Skip to content
Compare
Choose a tag to compare
@github-actions github-actions released this 26 Jul 02:39
· 353 commits to main since this release
d98bc19

Patch Changes

  • #960 77d54e6 Thanks @NullVoxPopuli! - Resolves: #958

    used Resources can now be immediately returned from other resources.

    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>