Commit Graph
104 Commits
Author SHA1 Message Date
Jonathan Kelley 922d9c8c05 Merge branch 'master' into fix-event-bubbling 2024-01-04 10:06:27 -08:00
abhiandEvan Almloff fd7c9e0359 fix empty render causing panic (#1769) (#1774)
* fix empty render causing panic (#1769)

* use an default root column instead of an empty root column

* fix formatting

* restore create.rs in core

---------

Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2024-01-02 10:02:58 -06:00
Evan Almloff 9d044ee589 make clippy happy 2023-09-11 16:30:16 -05:00
Evan Almloff d81d3ebaef assign parents through fragments 2023-09-11 16:16:16 -05:00
Evan Almloff 35b643e23f switch to bubble ids on vnodes to fix nodes under fragments pointing to an invalid parent 2023-09-11 15:55:58 -05:00
Evan Almloff 992ac4a3fb clear borrowed props after ensure_drop_safety 2023-09-06 16:12:01 -05:00
Evan Almloff 9552ab6c1c pass event propagation test 2023-09-04 19:10:11 -05:00
Evan Almloff d26aa95bcd update vnode ptr when parent of component reruns 2023-09-04 09:57:26 -05:00
Evan Almloff cfc6887e34 use raw pointers instead of transmute to make miri happy 2023-09-04 09:28:16 -05:00
Evan Almloff c5ebdc9635 fix parents in placeholder diffing 2023-08-31 14:17:26 -05:00
Evan Almloff dc4707ee2a WIP fix event bubbling 2023-08-23 13:01:37 -05:00
Evan Almloff e337aff0a4 WIP split element from element ref 2023-08-23 10:48:10 -05:00
Evan Almloff 943c76b1da Fix memory leak in core 2023-08-15 12:19:05 -05:00
Evan Almloff 0be5dbe715 fix the context API 2023-08-04 14:42:19 -07:00
Evan Almloff a2c7b69a1d set the scope stack correctly 2023-08-04 14:19:59 -07:00
Evan Almloff 04cdb14e5b improve signal copy runtime 2023-08-04 13:53:05 -07:00
Jonathan Kelley 2871c8bb4d Don't use boxed cell slice, use a refcell instead 2023-07-19 12:08:13 -07:00
Jonathan Kelley 81075748f6 add simple suspense methods 2023-07-14 16:56:17 -07:00
Jonathan Kelley cbd88bbcc3 Rip out async components 2023-07-14 16:15:20 -07:00
Evan Almloff 297c9a822e always update root id node refs 2023-04-05 12:34:17 -05:00
Evan Almloff f652ac5e13 improve sorting test 2023-02-12 17:36:00 -06:00
Evan Almloff abd6132c03 fix bfs ordering 2023-02-12 17:11:32 -06:00
Evan Almloff b33e0ed3ea fix release build warnings 2023-02-07 09:19:09 -06:00
Evan Almloff ae028d82f8 use bump slab 2023-01-22 17:16:34 -06:00
ealmloff a616a8fa9d fix templates being registered in mutations many times (#722) 2023-01-05 13:05:12 -06:00
Evan Almloff 51dba50c04 use BumpBox<Any> and FromAnyValue instead of sync bounds 2023-01-02 14:40:25 -06:00
Evan Almloff 87ff41f213 remove some commented out code 2023-01-02 11:54:44 -06:00
Evan Almloff 044462876d Merge branch 'upstream' into fix-non-str-attributes 2022-12-28 20:36:57 -06:00
Jonathan Kelley 8887d65e1b Merge branch 'master' into jk/suspense-rollover 2022-12-25 22:10:22 -05:00
Jonathan Kelley 3d69d3ea92 chore: use pending instead of async 2022-12-25 01:43:22 -05:00
Jonathan Kelley 6b41c9d193 fix: make sure to set scope on none 2022-12-23 23:59:02 -05:00
Jonathan Kelley 8e18a223e3 wip: more tweaks 2022-12-23 19:43:19 -05:00
Jonathan Kelley d8aa9f032a feat: none return works 2022-12-23 19:33:15 -05:00
Evan Almloff afd024bcb6 Merge branch 'upstream' into fix-non-str-attributes 2022-12-23 15:53:39 -06:00
Evan Almloff 432bfd395e fix swaping templetes before any instances are created 2022-12-22 16:54:49 -06:00
Evan Almloff 1530445972 fix hot reloading rsx with nested rsx calls 2022-12-22 16:38:07 -06:00
Evan Almloff 21ca1599eb more bugfixes 2022-12-22 15:09:58 -06:00
Evan Almloff 04a923f83e fix changing the order of dynamic nodes 2022-12-22 11:36:38 -06:00
Evan Almloff 4c1fe1d9bb allow changing the number of root nodes 2022-12-21 12:50:48 -06:00
Evan Almloff e5a5850354 merge master 2022-12-20 20:48:28 -06:00
Jonathan Kelley 2fa3fe1fc0 fix: use arcwake instead of rcwake 2022-12-20 11:13:06 -08:00
Evan Almloff 493ee1cb3f Merge branch 'upstream' into fix-hot-reloading 2022-12-19 21:17:22 -06:00
Jonathan Kelley d3be971f4e chore: rollback to option instead of anyhow 2022-12-19 18:06:13 -08:00
Evan Almloff 4364a4b511 handle updating templates better 2022-12-19 19:28:44 -06:00
Jonathan Kelley 3faef30075 fix: dont clone callbacks 2022-12-17 01:55:18 -08:00
Jonathan Kelley cc7736302a Merge branch 'master' into fix-non-str-attributes 2022-12-17 01:51:13 -08:00
Jonathan Kelley 482ae5e395 fix: no comments 2022-12-16 22:44:07 -08:00
Jonathan Kelley 255a903d5a chore: no dbg 2022-12-16 22:42:57 -08:00
Jonathan Kelley e0390ff608 fix: advance dynamic root 2022-12-16 22:39:27 -08:00
Jonathan Kelley 4d73ffa361 fix: save listeners, borrowed props, and pull back props 2022-12-16 19:54:33 -08:00