Commit Graph

1426 Commits

Author SHA1 Message Date
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
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 fd6a84b5f4 Router skeleton 2022-08-05 07:53:04 -04:00
Greg Johnston 2981af66e8 Fix setTimeout to allow FnOnce 2022-08-05 07:52:32 -04:00
Greg Johnston 5612793f4e Suspense 2022-08-03 10:28:36 -04:00
Greg Johnston a8cc450939 Show component is basically a less-versatile Rust bool.then() 2022-08-01 19:29:35 -04:00
Greg Johnston a9e4c16daa Clean up todos 2022-08-01 18:45:03 -04:00
Greg Johnston 62eaa56102 Much neater 2022-08-01 18:43:39 -04:00
Greg Johnston 5f2b92c267 Without a doubt, this is the stupidest and most frustrating bug I've ever created. Essentially, DOM nodes weren't being replaced or removed correctly because `current` was stuck on its origins in a DocumentFragment. It looked like some frustrating situation in which returns from appendChild were still referring back to the fragment, etc. No — I just literally wasn't ever using the return value, and instead was using the original value from the function call. Ridiculous, but so satisfying when it suddenly fixed a bunch of issues. 2022-08-01 18:42:33 -04:00
Greg Johnston 4357e3f92b Remove unnecessary import 2022-08-01 18:40:37 -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
Greg Johnston e587d985e0
Initial commit 2022-07-31 16:40:31 -04:00