Commit Graph

3064 Commits

Author SHA1 Message Date
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
Greg Johnston 86562aa5d1 Remove functions not actually needed in CSR 2022-09-14 10:13:40 -04:00
Greg Johnston 0bd1024cfe Allow users to avoid x=x syntax in component props 2022-09-14 09:46:42 -04:00
Greg Johnston d177f97eb8 Fix unnecessary semicolon 2022-09-14 09:42:07 -04:00
Greg Johnston 298bb6aa17 Update TOODs 2022-09-11 22:00:31 -04:00
Greg Johnston 1a1af6a673 Out-of-order HTML streaming of Suspense nodes! 2022-09-11 21:13:30 -04:00
Greg Johnston 50aed1d058 Remove unnecessary unwraps 2022-09-11 16:24:27 -04:00
Greg Johnston 1b796ccd70 Remove unnecessary quotes 2022-09-11 16:20:56 -04:00
Greg Johnston fb1dc9302a Remove layout jank 2022-09-11 16:20:52 -04:00
Greg Johnston c9f0dbd831 Add handler for boolean attributes 2022-09-11 16:20:40 -04:00
Greg Johnston 1c1c03b01a Fix bug parsing search params 2022-09-11 15:28:13 -04:00
Greg Johnston 80de7e9e12 Work on data streaming 2022-09-11 15:11:03 -04:00