Commit graph

3931 commits

Author SHA1 Message Date
Greg Johnston
794ad5b2b2
Merge pull request #33 from gbj/serde-lite
Add `serde-lite` and `miniserde` features, as well as default `serde`, for resources
2022-10-22 16:29:33 -04:00
Greg Johnston
b5e3fcae0a Clear some feature conflicts that mostly show up in rust-analyzer/IDE, not when you have features enabled 2022-10-22 16:28:33 -04:00
Greg Johnston
600eb8c1c9 serde, serde-lite, and miniserde features for resources 2022-10-22 16:22:44 -04:00
Greg Johnston
5c022879f1 Transition from serde to serde-lite to save Wasm binary size 2022-10-22 11:02:47 -04:00
Greg Johnston
a119acdfca Add missing panic hook dep 2022-10-22 10:35:10 -04:00
Greg Johnston
a06ebf3b73 Add warnings when reactive system fails silently 2022-10-22 10:07:19 -04:00
Greg Johnston
100f677f55 Fix issues with new guards 2022-10-22 08:02:41 -04:00
Greg Johnston
c77bdb3781 0.0.10 2022-10-22 07:56:33 -04:00
Greg Johnston
2ad8a6a979 Use try_with whenever panicking isn't necessary 2022-10-21 22:44:50 -04:00
Greg Johnston
e903e84243 Increasing robustness of reactive system against panics — add try_with, and use that whenever possible internally 2022-10-21 22:42:09 -04:00
Greg Johnston
298cd16acb Better nav link highlighting in router example 2022-10-21 22:18:16 -04:00
Greg Johnston
1cacc6b52d Fix issues with route outlet reactivity 2022-10-21 22:13:35 -04:00
Greg Johnston
fd0538fadf Simply routing 2022-10-21 17:17:24 -04:00
Greg Johnston
13d3fd82c8 Dispose of old routes 2022-10-21 15:28:00 -04:00
Greg Johnston
9bf3e804a1 Make <Form/> action dynamic in exchange for it being required. This is a pretty good trade, and more importantly it's needed to make forms work properly on routes using params without rerendering the entire form 2022-10-21 15:14:34 -04:00
Greg Johnston
289a1561f9 Remove extra logs 2022-10-21 15:02:12 -04:00
Greg Johnston
4b142fcbe0 Clean up router example and fix some bugs 2022-10-21 15:00:54 -04:00
Greg Johnston
e3256bdabc
Merge pull request #31 from gbj/remove-loaders-from-examples
Remove loaders from examples
2022-10-21 14:49:37 -04:00
Greg Johnston
89b24bc52f Replace route loaders with resources in examples, as the loader API is going to change 2022-10-21 14:47:59 -04:00
Greg Johnston
fb90108315 Remove leptos_dom profile 2022-10-20 21:51:42 -04:00
Greg Johnston
5880aaefd5 Include examples in workspace so rust-analyzer works (per issue #28) 2022-10-20 21:44:38 -04:00
Greg Johnston
f59efc6c2b Fix duplicates because I'm terrible at using GitHub 2022-10-20 21:43:30 -04:00
Greg Johnston
a61d57b6a3
Merge pull request #30 from oceantume/pr/add-console-panic-hooks
Add console error panic hook to all existing examples
2022-10-20 17:51:49 -04:00
Greg Johnston
af152891a1
Merge branch 'main' into pr/add-console-panic-hooks 2022-10-20 17:51:40 -04:00
Greg Johnston
0e1f3c567f Improve error messages by moving unwrap => expect 2022-10-20 17:48:38 -04:00
Oceantume
7065e5b32d Add console error panic hook to all existing examples 2022-10-20 17:45:46 -04:00
Greg Johnston
a463bcca43 Add console_error_panic_hook to examples 2022-10-20 17:28:09 -04:00
Greg Johnston
98ad27fda5 Add benchmarks against Yew and Sycamore for server-side rendering 2022-10-19 17:09:09 -04:00
Greg Johnston
db3a9c98e7 Move benchmarks into their own directory 2022-10-19 16:41:51 -04:00
Greg Johnston
7e006b1d7b Missing backtick 2022-10-19 16:35:07 -04:00
Greg Johnston
2817131278 Note the stable/nightly difference in docs 2022-10-19 16:34:28 -04:00
Greg Johnston
d56fea474b Add RwSignal::read_only and add docs for RwSignal 2022-10-19 09:45:28 -04:00
Greg Johnston
ac624dd7ac Fix stable feature 2022-10-19 08:50:17 -04:00
Greg Johnston
4448f7a83a Example of four modes of parent-child communication between components 2022-10-19 07:35:22 -04:00
Greg Johnston
0280eaf1cb Please, Cargo. 2022-10-18 22:08:43 -04:00
Greg Johnston
a87a60a652 Rearrange tests and dev-dependencies so Cargo will actually let me publish this crate 2022-10-18 22:08:15 -04:00
Greg Johnston
e909232292 0.0.9 2022-10-18 21:54:05 -04:00
Greg Johnston
4ee64816c7 Should fix issue #23. Easily one of the most-satisfying fixes I've had to a bug in a long time... Let's hope it doesn't break anything. 2022-10-18 20:07:10 -04:00
Greg Johnston
42c4aa74a6 Add reconciler attribution 2022-10-18 17:01:54 -04:00
Greg Johnston
e7ac4be5b8 Merge branch 'main' of https://github.com/gbj/leptos 2022-10-18 10:42:58 -04:00
Greg Johnston
1bbbdbf29e Rationalize features and set up defaults so that a) users don't need to specify csr mode by default and b) tests pass without feature flags 2022-10-18 10:42:55 -04:00
Greg Johnston
70b2b3b283 Fix package name in example 2022-10-18 10:32:56 -04:00
Greg Johnston
1b074f4468 Fix stable example 2022-10-18 10:22:09 -04:00
Greg Johnston
f29ab43c97 Need to exclude examples from workspace explicitly now 2022-10-18 10:16:44 -04:00
Greg Johnston
2dd247c750 Fix example package names 2022-10-18 10:15:42 -04:00
Greg Johnston
c831c07e45
Merge pull request #24 from danheuck/remove_wee_alloc 2022-10-18 09:05:54 -04:00
Dan Heuckeroth
8c5d5839e1 Remove wee_alloc dependency
This isn't currently used and has a security advisory: RUSTSEC-2022-0054
2022-10-18 08:22:46 -04:00
Greg Johnston
75b4935149
Merge pull request #22 from akesson/create-workspace
Create workspace
2022-10-18 08:16:27 -04:00
hakesson
6ef3d9de14 Fix duplicate definition of spawn_local error. 2022-10-18 08:11:51 +02:00
hakesson
99b1c323a0 Add workspace and disable default ssr or csr features 2022-10-18 07:10:57 +02:00