Commit graph

620 commits

Author SHA1 Message Date
Greg Johnston
a463bcca43 Add console_error_panic_hook to examples 2022-10-20 17:28:09 -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
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
2dd247c750 Fix example package names 2022-10-18 10:15:42 -04:00
Greg Johnston
418e4f4c77 wee_alloc is unmaintained so I'm now getting security alerts about it; I'm removing it from the examples. 2022-10-17 13:51:39 -04:00
Greg Johnston
0a0fb3bcf6 on_cleanup (issue #13) and example for cleanup functions 2022-10-17 13:39:40 -04:00
Greg Johnston
015bfc24fd Feature-flag to enable support for stable Rust instead of nightly 2022-10-17 13:23:20 -04:00
Greg Johnston
7c19dd8039 Clearing some additional warnings in examples 2022-10-17 11:03:43 -04:00
Greg Johnston
3f7e7193ea Clearing up some of the flood of warnings for unused imports etc. that have come up as I've shifted around implementations 2022-10-17 10:45:20 -04:00
Greg Johnston
4c5518bd20 Helper for route loader JSON responses 2022-10-16 22:18:07 -04:00
Greg Johnston
9a03fcf2ef Provide helping for streaming SSR 2022-10-16 22:06:13 -04:00
Greg Johnston
3dd3870dbf Fixing/updating SSR/hydration and some bugs in new reactivity 2022-10-15 22:17:58 -04:00
Greg Johnston
7a04411b64 New reactive system: switching to using SecondaryMaps from slotmap to reduce binary size and creation cost significantly 2022-10-15 19:26:17 -04:00
Greg Johnston
56c04e3772 Small updates to book 2022-10-14 15:44:08 -04:00
Greg Johnston
6d7c36655c Not actually necessary, because the effect won't run on the server anyway 2022-10-14 14:42:27 -04:00
Greg Johnston
16f084a712 Fix Hacker News SSR/streaming/hydration 2022-10-13 18:53:31 -04:00
Greg Johnston
9563e70dcf Fix hackernews example (CSR) 2022-10-13 17:13:30 -04:00
Greg Johnston
2c90922385 Fix up TodoMVC example and add build script on client side 2022-10-13 16:42:00 -04:00
Greg Johnston
2b1eeacef1 Remove transition example 2022-10-12 22:30:38 -04:00
Greg Johnston
c02839d6fc Remove version numbers from examples 2022-10-12 14:43:42 -04:00
Greg Johnston
6e89ea4447 Proc-macro hygiene by including cx in view! macro. :-( but necessary... 2022-10-10 20:44:44 -04:00
Greg Johnston
b6cdf43622 Fix issue #1 on route loaders reloading 2022-10-08 22:03:35 -04:00
Greg Johnston
3638f488c9 Change <Link/> and <NavLink/> to <A/>, and update router example 2022-10-08 21:34:59 -04:00
Greg Johnston
2d2f2a52a4 Update all libraries and examples to use new set_x API 2022-10-08 20:39:13 -04:00
Greg Johnston
6e5e18eb33 Transition example broken, should fix 2022-10-08 20:38:56 -04:00
Greg Johnston
b23a6b6a26 Add version number for leptos dependencies 2022-10-07 06:53:17 -04:00
Greg Johnston
1d42c1b902 Significant progress on accurate/robust hydration 2022-10-01 21:25: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
b2fcb552ea Add <Stylesheet> component to meta 2022-09-28 20:54:56 -04:00
Greg Johnston
1a1af6a673 Out-of-order HTML streaming of Suspense nodes! 2022-09-11 21:13:30 -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
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
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
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
4eadf6e788 Clear warnings 2022-09-01 10:38:32 -04:00
Greg Johnston
89d30d017c Router example 2022-08-29 08:05:14 -04:00
Greg Johnston
9233985738 Cleaning warnings 2022-08-25 15:04:30 -04:00
Greg Johnston
b602eea6bb New reactive system 2022-08-24 16:47:37 -04:00
Greg Johnston
41f415160a Remove Memo 2022-08-24 11:19:58 -04:00
Greg Johnston
7cfebcbfee Significant router work 2022-08-24 10:59:06 -04:00
Greg Johnston
7996e25045 Clean up after work on transitions 2022-08-13 15:06:34 -04:00
Greg Johnston
9d2e7022f1 Transitions! 2022-08-13 09:26:04 -04:00
Greg Johnston
46fd5f6355 Make Resources copy/serializable like Signals etc.; useful for DX but also for ultimately serializing the dependency graph and resuming apps 2022-08-12 13:05:38 -04:00
Greg Johnston
00a0e8d5e0 Add Suspense 2022-08-12 11:51:59 -04:00
Greg Johnston
af5becb85b Recomponentify 2022-08-11 07:15:00 -04:00
Greg Johnston
3e4adcad21 Fix some ownership clashes by using grow-only Vecs to hold signal/memo/effect state 2022-08-10 22:55:55 -04:00
Greg Johnston
4a7154071e Debugging issues 2022-08-10 22:42:54 -04:00
Greg Johnston
612b64707e Experimenting with a new reactive system 2022-08-10 22:34:20 -04:00
Greg Johnston
c2c4a4afe6 Use my old reactive system again 2022-08-08 14:09:16 -04:00
Greg Johnston
78b10dd546 Transition example 2022-08-05 07:53:56 -04:00
Greg Johnston
ef032092f1 Iniitial work on transitions 2022-08-05 07:53:34 -04:00
Greg Johnston
4da115b52c Transition example (without transitions) 2022-08-05 07:53:22 -04:00
Greg Johnston
5612793f4e Suspense 2022-08-03 10:28:36 -04:00
Greg Johnston
62eaa56102 Much neater 2022-08-01 18:43:39 -04:00
Greg Johnston
46ea459988 Async/Resource support and example 2022-08-01 18:02:02 -04:00
Greg Johnston
b21973783d Improved naming conventions and remove an extra clone in create_signal_owned 2022-07-31 19:40:55 -04:00
Greg Johnston
17c2faeb56 Initial commit 2022-07-31 16:46:14 -04:00