Skip to content
This repository was archived by the owner on Jun 2, 2024. It is now read-only.

v1.0.0

Choose a tag to compare

@csvenke csvenke released this 05 Aug 15:52
· 515 commits to master since this release

Breaking changes

Resolve component is now named ShowAsync.
The promise prop is now called when to closer resemble the Show component.
Resolved prop is now named render and can also be passed to children.

with children

<ShowAsync when={promise}>
  {result => <div>{result}</div>}
</ShowAsync>

with render

<ShowAsync 
  when={promise}
  render={result => <div>{result}</div>}
/>

Changelog

  • Renamed Resolve component to ShowAsync
  • Improved wording in readme
  • Improved declaration file documentation
  • Reduced bundle size