Skip to content

v0.3.0

Compare
Choose a tag to compare
@lpotthast lpotthast released this 24 Oct 20:06
· 311 commits to main since this release

Added

  • The Consumer type. Use Consumer<In> when you would otherwise write Callback<In, ()>.
  • The Producer type. Use Producer<Out> when you would otherwise write Callback<(), Out>.
  • The ViewProducer type. Use ViewProducer when you would otherwise write Callback<(), leptos::View>.
  • The ViewCallback type. Use ViewCallback<In> when you would otherwise write Callback<In, leptos::View>.

Changed

  • Updated to leptos 0.5.1. No more cx!
  • The render_option prop for select inputs no longer requires you to call .into_view() on whatever your closure returns.
  • Collapsibles now use the slot approach.

Fixed

  • Fixed a bug which prevented progress bars in their indeterminate state to animate.

Removed

  • The Callback and Callable types moved into leptos itself! They should still be accessible on most use-sites as they are now imported with use leptos::*, which should already be present in most places the leptonic Callback was used before.