Commit Graph

2010 Commits

Author SHA1 Message Date
Greg Johnston 982c8f6b5a
docs: small fixes (#715) 2023-03-20 20:43:04 -04:00
Greg Johnston 12c4c115f3
docs: make `is_odd` less pretentious 2023-03-20 20:42:46 -04:00
Carlton Gibson d4d20ecdb0
Used modulo rather than bitwise & for is_odd check.
The modulo operator is less of a head-scratcher for folks coming through here. The bitwise & is equally correct (clearly) but is likely to cause confusion if folks don't immediately see what's going on.
2023-03-20 20:09:02 +01:00
Greg Johnston b78919c6ed
Merge pull request #712 from leptos-rs/warnings 2023-03-20 10:49:00 -04:00
Greg Johnston abb9320e31 chore: clear warning and add exports of helpers with handles 2023-03-20 09:36:14 -04:00
Greg Johnston 875d2d5a3a chore: handle unbounded_send warnings 2023-03-20 09:33:58 -04:00
Greg Johnston 42a58855a0
feat: add `Scope::batch()` (#711) 2023-03-20 08:29:18 -04:00
Greg Johnston 9d142758ec
feat: allow manual signal disposal before the scope is disposed (#710) 2023-03-19 21:40:16 -04:00
Greg Johnston 2faddd85cb
feat: add `set_interval_with_handle` and deprecate `set_interval` (#709) 2023-03-19 16:45:22 -04:00
martin frances ddd463748d
clippy: less .clone() calls, simpler pointer passing. (#707) 2023-03-19 15:30:12 -04:00
Alexis Fontaine 71ee4cd09d
fix: `view!` macro not compiling with a non-default scope name (#704) 2023-03-19 13:14:47 -04:00
Greg Johnston 08c56f7d6c
feat: add a `debounce` helper for event listeners (#691) 2023-03-19 07:10:56 -04:00
Elliot Waite e1ba26b62c
feat: add `request_animation_frame_with_handle` and `request_idle_callback_with_handle` (#698) 2023-03-18 19:09:36 -04:00
Greg Johnston 309f0bf826
fix: ignore view markers in DynChild hydration (closes issue #697) (#703) 2023-03-18 19:01:56 -04:00
Greg Johnston 1698ffa7db
fix issues in release mode (closes #700) (#701) 2023-03-18 11:04:06 -04:00
Greg Johnston 556955cf1a
docs: beginning work on router docs (#682) 2023-03-18 07:34:43 -04:00
Elliot Waite a9f778459a
examples: remove duplicate `console_error_panic_hook::set_once()` calls (#692) 2023-03-17 16:27:24 -04:00
Greg Johnston f2ac412253
feat: support diffing inside component children in hot-reload (#690) 2023-03-17 13:53:53 -04:00
Greg Johnston 3bd52fcc9d
fix: hydration errors with `<Suspense/>` inside components in SSR mode (#688) 2023-03-17 12:46:04 -04:00
Vassil "Vasco" Kolarov b9bd1e103c
examples: added example using Tailwind, CSR (only) and Trunk (#666) 2023-03-17 12:45:49 -04:00
Greg Johnston 55f9081465
fix: allow multiple `<Suspense/>` on same page during in-order or async rendering (#687) 2023-03-17 12:05:36 -04:00
ryndin32 0bac16dba0
docs: typos (#685) 2023-03-15 16:40:57 -04:00
Brett Etter a8a9c575b5
Added `IntoView` for `ReadSignal` and `RwSignal` in the `stable` feature. (#677) 2023-03-15 16:40:22 -04:00
Greg Johnston 15ec855db5
Update README.md 2023-03-15 14:34:18 -04:00
Greg Johnston b8f79a7e56
fix: suppress spurious hydration warnings for tags in `leptos_meta` (#684) 2023-03-14 14:17:23 -04:00
Greg Johnston b988ee85f4
fix: leaking stored values (#683) 2023-03-14 11:06:36 -04:00
Greg Johnston d6e166f105
CI: add `--release` checks (#681) 2023-03-13 22:19:10 -04:00
Greg Johnston 53ceca8ff8
feat: maintain order of sources and dependencies (#678) 2023-03-13 20:01:03 -04:00
Brett Etter f2f9759138
fix: release mode (#679) 2023-03-13 20:00:40 -04:00
Greg Johnston 817152ff39
feat: new reactive system implementation (#637) 2023-03-13 17:58:00 -04:00
Greg Johnston 38daaf3b72
chore: apply `cargo machete` systematically (#671) 2023-03-13 10:16:20 -04:00
Greg Johnston 666d53e2ba
feat: `<ActionForm/>` improvements (#676) 2023-03-13 10:16:02 -04:00
Greg Johnston b55e9a9e64
`v0.2.3`: fix broken stable support (#670) 2023-03-13 07:25:08 -04:00
Greg Johnston 8f94c8e6b1
v0.2.2 (#667) 2023-03-12 14:59:04 -04:00
martin frances 604ba3ff90
clippy: signal_wrappers_read, was using .clone() when copy is available. (#665) 2023-03-12 14:52:13 -04:00
Elliot Waite 2e671887d9
docs: typo fixes and other small changes to the docs (#662) 2023-03-12 14:51:47 -04:00
Greg Johnston e7d56b76b8
fix: apply patches to all instances of a view, not just the first one (#663) 2023-03-11 16:34:13 -05:00
Greg Johnston 87d5bddb21
fix: text node issue in `template` macro (#661) 2023-03-11 14:25:38 -05:00
Charles Taylor 9d46b7bcb0
feat: impl `Copy` & `Clone` for `MaybeSignal` (#660) 2023-03-11 13:17:16 -05:00
Greg Johnston 591212a56a
feat: add fragment support for hot reloading and fix some stuff (#659) 2023-03-11 07:21:37 -05:00
Ben Wishovich 1a3c1e9e52
feat: provide `Request<_>` in context for Axum, enabling easier extractor use (#632) 2023-03-10 17:28:32 -05:00
martin frances 94998aa95e
chore: cargo machete: leptos_macro - Removed unused crates. (#656) 2023-03-10 09:44:23 -05:00
Greg Johnston c782017578
feat: impl `IntoView` for `&Fragment` (#655) 2023-03-10 09:43:03 -05:00
Pikhosh d291cdb968
fix: show console error instead warning for `error!` (#654) 2023-03-10 09:42:44 -05:00
ealmloff 29fb1842a5
feat: make server functions work outside of WASM (#643) 2023-03-09 18:03:57 -05:00
Greg Johnston b085a6c38e
docs: add `create_effect` chapter (#653) 2023-03-09 18:03:38 -05:00
zack.shen 17c12823db
docs: spelling error (#651) 2023-03-09 16:45:35 -05:00
martin frances 81401a738c
chore: bumped typed-builder up to 0.14. (#648) 2023-03-09 16:44:27 -05:00
martin frances c9476af063
chore: bump bytecheck to 0.7, remove deprecated simdutf8_std. (#647)
* bump bytecheck to 0.7, remove deprecated simdutf8_std.

* When using rkyv, must use the appropiate CheckBytes.
2023-03-09 16:44:06 -05:00
Greg Johnston 1f95eb1e1d
chore: typo (closes issue #645) (#646) 2023-03-08 19:52:51 -05:00