Commit Graph
10 Commits
Author SHA1 Message Date
Evan Almloff b47a6cf83e Move to a generic GlobalLazy<T> (#2851)
* Expose a generic lazy type

* Switch to generic lazy globals

* simplify global lazy context a bit

* rename LazyGlobal to Global

* use Memo::global in more examples

* Fix soundness issue with deref_impl. It relies on the size of self, so it cannot be safe

* add a comment about safety

* Make clippy happy

* fix formatting

* Restore changes to signal impl

* Add helper methods for global signal and global memo to make getting the inner value easier
2024-08-16 17:57:41 -05:00
Evan AlmloffandJonathan Kelley c6a2e5b6c8 Use head elements and new manganis syntax in examples (#2688)
* use head elements and new manganis syntax in examples
* only enable desktop workspace example scraping during a dioxus release

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2024-07-25 21:58:00 +00:00
Miles Murgaw 672f4dfefc Re-Export Manganis & Update Examples (#2625)
* feat: export manganis

* revision: use manganis in examples

* fix: manganis dep

* fix: workspace root finder

* fix: manganis dep

* fix: ci
2024-07-23 10:29:37 -07:00
Jonathan Kelley b30810e486 cut out a number of changes from the hr PR (#2580) 2024-07-02 17:09:57 -07:00
alongdate a5b4ceed39 chore: fix some typos in comments (#2340)
Signed-off-by: alongdate <alongyear@outlook.com>
2024-04-19 08:29:22 -05:00
Jonathan Kelley bdbae8ccb0 Update examples, add css 2024-02-14 12:33:07 -08:00
Jonathan Kelley 06d9b575b7 rename use_selector to use_memo 2024-01-20 23:32:12 -08:00
Jonathan Kelley 3ded0f5329 Make more examples cross-platform 2024-01-20 00:11:55 -08:00
Evan Almloff c859ed3b12 create global selectors 2024-01-19 15:26:28 -06:00
Evan Almloff bc914deeaa create Signal::global 2024-01-19 13:46:17 -06:00