ui
ui copied to clipboard
Hooks
Add Hooks equivalents for the providers.
- [x] PublicUrl
- [ ] Redraw
- [ ] RedrawFromDate
- [x] Root
- [x] Toast
- [x] Viewport
@bpierre I wonder if the "redraw" provider is obsolete because of useNow(). Maybe we can introduce a useUpdateFromDate(), or just deprecate RedrawFromDate() entirely since we don't use it anymore (I think?)?