Commit graph

125 commits

Author SHA1 Message Date
Greg Johnston
f7aaf984ce Don't package router with framework 2022-10-07 07:06:03 -04:00
Greg Johnston
44ef782e65 Don't package router with framework 2022-10-07 07:05:13 -04:00
Greg Johnston
a4f36102f1 Roll back leptos_dom 0.0.2 2022-10-07 07:05:05 -04:00
Greg Johnston
3327255440 Make leptos_dom submodules public (to allow use from macro) 2022-10-07 07:00:20 -04:00
Greg Johnston
b23a6b6a26 Add version number for leptos dependencies 2022-10-07 06:53:17 -04:00
Greg Johnston
97d7afec2e Fix authors field 2022-10-07 06:50:21 -04:00
Greg Johnston
6582036c9d Specify all sub-package versions 2022-10-07 06:44:00 -04:00
Greg Johnston
0709675702 Remove annoying logs 2022-10-07 06:43:01 -04:00
Greg Johnston
5742cc8bd9 Set versions 2022-10-07 06:41:50 -04:00
Greg Johnston
24d6965893 Remove unused reactive system 2022-10-07 06:41:34 -04:00
Greg Johnston
450f521ad0 Nice quality-of-life improvement: if we don't need to reuse a param, can remove() it to get it owned 2022-10-07 06:25:41 -04:00
Greg Johnston
12db14cb40 Loader calls for subsequent page navigations in hydration mode 2022-10-05 20:37:29 -04:00
Greg Johnston
93b87575c4 Fixing hydration 2022-10-05 09:06:41 -04:00
Greg Johnston
3d96e10937 Reorganize <Router/> and <Routes/> so that hydration isn't broken 2022-10-01 21:26:05 -04:00
Greg Johnston
1d42c1b902 Significant progress on accurate/robust hydration 2022-10-01 21:25:49 -04:00
Greg Johnston
862258e035 Make router integration easier 2022-09-30 15:57:35 -04:00
Greg Johnston
0e60228f9b Fix hydration??? 2022-09-30 15:27:49 -04:00
Greg Johnston
a0e320dee3 Remove old manual hydration example (would be broken in any case) 2022-09-30 15:27:38 -04:00
Greg Johnston
4008240bff Work on hydration 2022-09-28 21:35:21 -04:00
Greg Johnston
2e11e2037f Fix stylesheet hydration 2022-09-28 21:35:17 -04:00
Greg Johnston
b2fcb552ea Add <Stylesheet> component to meta 2022-09-28 20:54:56 -04:00
Greg Johnston
6365ac2c8c Stream resources using bincode => base64 instead of serde_json for bundle size and overall speed 2022-09-25 22:11:32 -04:00
Greg Johnston
b4cef51f08 Prevent meta from crashing on SSR while this isn't implemented yet 2022-09-25 22:11:00 -04:00
Greg Johnston
f9ff54249a Make it clearer which hooks are reactive 2022-09-25 22:10:46 -04:00
Greg Johnston
d8cfa973f1 Get router working with SSR 2022-09-25 22:10:37 -04:00
Greg Johnston
0f110cd2a1 Initial <title> work for meta tags 2022-09-23 16:33:00 -04:00
Greg Johnston
010a8ad985 Hide all transition features under a feature flag for increased perf/marginally smaller bundle size when not needed 2022-09-21 19:38:42 -04:00
Greg Johnston
a53a27bb22 Remove spammy log 2022-09-21 15:14:08 -04:00
Greg Johnston
d640a55623 Lazily unsubscribe from effects if their scopes have been disposed of (prevents issues like crash in router when URL signals try to update UI effects that no longer exist) 2022-09-21 15:14:01 -04:00
Greg Johnston
3eb0560678 Wrap Option types in components so they're optional to include 2022-09-20 18:19:13 -04:00
Greg Johnston
b511b8b608 Update Suspense to new component children 2022-09-20 15:37:55 -04:00
Greg Johnston
fa80ba261d Clear a warning 2022-09-20 15:37:45 -04:00
Greg Johnston
edd84f4ec5 Easily export ParamsMap to query string 2022-09-20 15:37:35 -04:00
Greg Johnston
1695f129e2 Cleanup 2022-09-20 14:31:06 -04:00
Greg Johnston
d4204241e8 Make href actually reactive 2022-09-17 17:09:00 -04:00
Greg Johnston
91cfef3c80 Fix <For/> to work with new format for children 2022-09-17 17:08:52 -04:00
Greg Johnston
5eb2364b2c Fix <Form/> submission with ENTER button 2022-09-17 16:23:05 -04:00
Greg Johnston
183c0b3afe Handle multiple serial components followed by an element etc. 2022-09-17 15:16:28 -04:00
Greg Johnston
20278a922f Fix render bugs with components relative to other nodes 2022-09-17 15:16:12 -04:00
Greg Johnston
23b9730fd3 Better warnings in loader 2022-09-17 10:38:40 -04:00
Greg Johnston
2c6a679ffb Lazy-evaluate children 2022-09-16 22:35:25 -04:00
Greg Johnston
08b0b27857 Remove unused SSR approach based on server-side VNodes 2022-09-16 22:35:09 -04:00
Greg Johnston
6f96efed14 Strip unnecessary div wrapper 2022-09-14 22:17:04 -04:00
Greg Johnston
c3765ce9fc Update Todos 2022-09-14 10:16:07 -04:00
Greg Johnston
6a1eac0945 <Form/> component 2022-09-14 10:15:52 -04:00
Greg Johnston
d59147e355 use_query, use_query_map, use_navigate hooks 2022-09-14 10:15:45 -04:00
Greg Johnston
994a348b57 Macro to derive Params type on structs for URL search, route params 2022-09-14 10:15:28 -04:00
Greg Johnston
c7fa22413b Remove this debug code, as it will crash if no parent.parentNode 2022-09-14 10:15:03 -04:00
Greg Johnston
3ccd42c5b6 Router <Form/> component (GET only for now) 2022-09-14 10:14:47 -04:00
Greg Johnston
9bea0a85ae Improved flexibility in <Link href/> acceptable types 2022-09-14 10:14:18 -04:00