Commit graph

98 commits

Author SHA1 Message Date
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
Greg Johnston
4424361f57 Fixing hydration 2022-09-08 22:04:36 -04:00
Greg Johnston
4a8339df18 Picking away at hydration bugs 2022-09-07 22:21:22 -04:00
Greg Johnston
293bece526 Trying to fix some issues with reactivity on <For/> when hydrating; doesn't seem to work, may revert 2022-09-07 22:21:13 -04:00
Greg Johnston
133a088364 Progress on SSR/hydration 2022-09-07 15:43:35 -04:00
Greg Johnston
45d1bbc236 Create HackerNews app 2022-09-05 12:32:27 -04:00
Greg Johnston
812c3a2045 SSR/hydration example! 2022-09-03 17:53:18 -04:00
Greg Johnston
22b4c78804 Rewrite map_keyed not to use an effect but simply to return a function 2022-09-03 17:52:53 -04:00
Greg Johnston
a4a8a972b5 Rationalize features for CSR/SSR/hydration 2022-09-03 11:26:57 -04:00
Greg Johnston
2d62610288 Update examples, removing unnecessary one and using new APIs 2022-09-03 08:16:22 -04:00
Greg Johnston
bea51d54ef Clear warnings in TodoMVC 2022-09-03 08:03:07 -04:00
Greg Johnston
ed23604237 Update TodoMVC example to use new interfaces 2022-09-02 15:22:35 -04:00
Greg Johnston
18d28ecefc Hydration improvements 2022-09-02 14:50:49 -04:00
Greg Johnston
395075b530 Hydration! 2022-09-02 11:26:06 -04:00
Greg Johnston
54f37095dc Beginning work on SSR/hydration 2022-09-01 10:39:04 -04:00
Greg Johnston
dea973dac6 Making memos work 2022-09-01 10:38:56 -04:00
Greg Johnston
4eadf6e788 Clear warnings 2022-09-01 10:38:32 -04:00