Commit Graph

3064 Commits

Author SHA1 Message Date
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
Greg Johnston fad0234806 Debugging transitions (needed for router for now) 2022-09-01 10:38:19 -04:00
Greg Johnston 83bb874cd5 Memos should actually memoize 2022-09-01 10:38:10 -04:00
Greg Johnston 44ec841522 Router TODOs 2022-08-29 08:08:15 -04:00
Greg Johnston e94b1b3f8a Slightly more flexible children for <Suspense/> 2022-08-29 08:07:52 -04:00
Greg Johnston 60fdb875cf Make it easier to debug Scopes 2022-08-29 08:07:26 -04:00
Greg Johnston 96f1dd1eb6 Minimize calls to Memo function by wrapping it in its own type with distinct functionality 2022-08-29 08:06:59 -04:00
Greg Johnston 5fad14981a Fix bugs with multiple text/block nodes under one parent 2022-08-29 08:06:40 -04:00
Greg Johnston b62233d45e Add comparative benching with Sycamore reactivity 2022-08-29 08:06:22 -04:00
Greg Johnston 89d30d017c Router example 2022-08-29 08:05:14 -04:00
Greg Johnston d6c007dcc4 Significant perf improvements 2022-08-29 08:04:59 -04:00
Greg Johnston d1b5e652c1 Progress on nested routing, relative Link/NavLinks, etc 2022-08-29 08:04:00 -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 02558c2f66 Move Scope to first argument of hooks, rather than impl Scope, so that future hooks defined in other crates have isomorphic API (they can't arbitrarily impl Scope) 2022-08-16 09:56:00 -04:00
Greg Johnston 329eab89d2 Initial router work 2022-08-16 09:49:22 -04:00
Greg Johnston 326b0ded92 Clean up TODOs 2022-08-13 15:07:11 -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 6d9e3ce4e5 Fix increment so Suspense shows properly when refetching 2022-08-12 15:03:01 -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 c2af386565 Fix problems with child scopes causing RefCell errors by wrapping in an Rc and immediately cloning when we try to access a ScopeState, dropping the Ref (and allowing us to access the contents of one scope immutably while adding another scope, etc.) 2022-08-11 07:16:26 -04:00
Greg Johnston fbe665494e Less specific version 2022-08-11 07:15:17 -04:00
Greg Johnston 120295d1a2 Remove logs 2022-08-11 07:15:12 -04:00
Greg Johnston af5becb85b Recomponentify 2022-08-11 07:15:00 -04:00
Greg Johnston eb4d5abff9 Make memos lazy 2022-08-11 07:00:43 -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 47cb10ccb0 Initial work on new reactive system 2022-08-08 13:25:50 -04:00
Greg Johnston 78b10dd546 Transition example 2022-08-05 07:53:56 -04:00