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

v0.1.0

Compare
Choose a tag to compare
@hgzimmerman hgzimmerman released this 11 Nov 20:08
· 15 commits to master since this release
b6d1795

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.