Skip to content
This repository has been archived by the owner on Jul 19, 2020. It is now read-only.

Releases: yewstack/yewtil

v0.2.0

19 Nov 01:29
338ff19
Compare
Choose a tag to compare

v0.2.0 11/18/19

  • ⚡️ Features

    • Add new FetchRequest trait, fetch_resource() function, and FetchState enum
      to simplify making fetch requests using futures.
    • Add Default implementations to Irc and Mrc.

v0.1.0

11 Nov 20:08
b6d1795
Compare
Choose a tag to compare

First release! 🎉

Includes the following items as stable:

  • neq_assign - makes assigning props and returning a relevant ShouldRender value easier.
  • PureComponents - implement pure components using two traits: PureComponent and Emissive, the latter of which can be derived in most cases. This should make it much easier to define simple components that don't hold state.
  • Mrc/Irc smart pointers - Rc-like pointers that are more ergonomic to use within Yew.
  • History - A wrapper that holds the history of values that have been assigned to it.

Includes the following features as experimental:

  • Lrc smart pointer - Rc-like pointer implemented on top of a linked list. Allows for novel state update mechanics and traversal over linked shared pointers.
  • WithCallback - A wrapper around props to make handing out sections of a large monolithic state object require less duplicate code.
  • DSL for Html<Self> - A function-based domain-specific-language for Yew that can be used in a limited capacity instead of the html! macro.