Commit Graph
345 Commits
Author SHA1 Message Date
Jonathan Kelley 702509cb7e Fix recycling on component callbacks (#2247) 2024-04-04 16:48:06 -07:00
Jonathan KelleyandEvan Almloff 44fe2defc2 Fix: memory leak on listeners for elements (#2244)
* Fix: memory leak on listeners for elements
* Recycle in manuallydrop

---------

Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2024-04-04 14:25:17 -07:00
Evan Almloff c8140c78b3 reuse placeholder and empty nodes on each thread to reduce allocation (#2217) 2024-04-02 10:52:16 -07:00
Jonathan Kelley 537f064001 Remove some old docs, cleanup some readmes 2024-03-27 17:28:30 -07:00
Jonathan Kelley 09e14f1936 Implement some clippy fixes 2024-01-30 18:17:45 -08:00
Jonathan Kelley 7b0dcb3206 Add flush_sync and pre_render methods to core 2024-01-28 01:30:33 -08:00
Evan Almloff c3edf99b63 make anyprops and vprops private again 2024-01-25 09:32:36 -06:00
Jonathan Kelley fc0b0f02a1 downcast data with panic 2024-01-20 11:21:49 -08:00
Evan Almloff ae3e167cfe make fullstack hello world compile 2024-01-17 16:58:03 -06:00
Evan Almloff 499e81fa82 fix fullstack send bound 2024-01-17 15:46:29 -06:00
Evan Almloff dab87c0144 try not double boxing 2024-01-17 15:07:45 -06:00
Jonathan Kelley 374c7d0cd8 Cleanup more of core 2024-01-16 17:14:19 -08:00
Jonathan Kelley 9f595171ce Remove boxedanyprops abstraction 2024-01-16 16:09:59 -08:00
Jonathan Kelley fb4f97406c Fix router codegen 2024-01-16 15:48:37 -08:00
Jonathan Kelley 3fb7c359c2 Rename to component function 2024-01-16 15:09:44 -08:00
Jonathan Kelley c94af9538b Remove phantom markers and just default to Rc<dyn Fn(props) -> Element> where it makes sense 2024-01-16 15:07:22 -08:00
Evan Almloff ef553a2cb2 unbox component functions 2024-01-16 07:48:32 -06:00
Jonathan Kelley bb6aa9e792 Add back ondestroy hook 2024-01-15 14:27:20 -08:00
Evan Almloff 940108f242 fix hydration 2024-01-15 13:23:35 -06:00
Evan Almloff a1c68448a7 fix placeholder template names 2024-01-15 10:15:55 -06:00
Evan Almloff 36e9eb1160 partially restore spreading attributes 2024-01-14 15:21:19 -06:00
Jonathan Kelley fae0b08e61 Fix the router and stub out a number of crates to get compiling 2024-01-13 20:51:37 -08:00
Jonathan Kelley 8c94f0bc4a get compiling 2024-01-11 16:51:18 -08:00
Jonathan Kelley 2ae3241cc0 Merge branch 'master' into jk/breaking-merged 2024-01-11 16:04:36 -08:00
Evan Almloff 598b557aee rename HasProps to ComponentFunction 2024-01-11 15:53:14 -06:00
Evan Almloff fd0a53ab63 make all core tests compile 2024-01-11 15:18:11 -06:00
Jonathan Kelley 8ff13c3c1b Fix some basic clippy stuff 2024-01-11 12:13:38 -08:00
Jonathan Kelley 1527b81e02 Components participate in event handlers 2024-01-11 12:11:27 -08:00
Evan Almloff bcbb647d02 fix constructing no argument components 2024-01-11 11:44:18 -06:00
Jonathan Kelley b8061d6d14 Make clippy happy 2024-01-10 23:26:26 -08:00
Evan Almloff 4a1a00b0f0 fix dioxus ssr 2024-01-10 17:57:15 -06:00
Evan Almloff b43dfb1f67 fix mounted information 2024-01-09 11:35:55 -06:00
Evan Almloff 8eb2b74832 move mounted info to the VDOM 2024-01-09 11:01:11 -06:00
Evan Almloff eb602fc29f clippy fix 2024-01-09 10:09:58 -06:00
Evan Almloff aed29b1dec separate mount information from VNodes 2024-01-09 10:09:08 -06:00
Jonathan Kelley 44a27bf8a3 Fix leak in render macro 2024-01-08 19:20:31 -08:00
Evan Almloff aefa8a2431 use boxed slices instead of vecs where possible 2024-01-07 13:41:39 -06:00
Evan Almloff 6630a81b0b fix VComponent::new 2024-01-07 09:14:44 -06:00
Evan Almloff 5b6f9d6b80 fix merge 2024-01-06 08:58:49 -06:00
Evan Almloff e5df83ceec Merge branch 'master' into pr/atty303/1349 2024-01-06 08:52:37 -06:00
Evan Almloff 3865f44081 make desktop compile 2024-01-05 14:39:45 -06:00
Evan Almloff d90c71c508 move creation functions into the structs they are creating and unify user and system events 2024-01-05 13:18:48 -06:00
Evan Almloff a1676537ad restore drop scope 2024-01-05 12:28:45 -06:00
Evan Almloff 32b15fc851 make core compile 2024-01-05 12:25:18 -06:00
Evan Almloff 113b2c1529 port over more diffing + creation logic 2024-01-05 12:07:29 -06:00
Evan Almloff 0c76770da0 remove a lot of unsafe 2024-01-05 10:57:05 -06:00
Evan Almloff c70e2bfcb6 move diffing into the global runtime 2024-01-05 09:32:50 -06:00
Evan Almloff f42ef3ef9d remove more lifetimes 2024-01-05 08:39:22 -06:00
Evan Almloff 3ad16ddd37 rip out more lifetimes 2024-01-04 18:33:01 -06:00
Evan Almloff c9ff449e45 remove the bump allocator 2024-01-04 17:33:22 -06:00