Marc Espín
32d4472bfd
fix: Remove duplicated doc links and improved some descriptions ( #1167 )
2023-07-08 11:04:27 -05:00
Evan Almloff
5f873511c5
use workspace dependancies
2023-06-19 14:29:11 -05:00
Evan Almloff
579da12ab6
Merge branch 'upstream' into server-fn
2023-05-02 11:05:38 -05:00
Evan Almloff
7193453fe0
Merge branch 'upstream' into server-fn
2023-04-13 08:09:27 -05:00
Evan Almloff
6afd764aa4
Merge branch 'upstream' into fix-ssr-raw-attributes
2023-04-12 09:11:25 -05:00
Evan Almloff
fe75138e42
fix dangerous_inner_html with SSR
2023-04-07 09:35:32 -05:00
Evan Almloff
e1bb6cc750
Merge branch 'upstream' into server-fn
2023-04-02 07:11:07 -05:00
Evan Almloff
bfcb0f6eab
add an example illistrating intigration with the router
2023-03-31 15:33:44 -05:00
Evan Almloff
468f684d7d
fix style attributes in SSR
2023-03-22 10:10:18 -05:00
Evan Almloff
96397f08d0
fix int and float raw values in ssr
2023-03-22 08:43:58 -05:00
Evan Almloff
a51f67c2ec
add version to docs links in readmes
2023-02-18 18:38:30 -06:00
Jon Kelley
7d37dc39d5
Merge pull request #829 from Demonthos/fix-pre-tag-ssr
2023-02-14 11:36:02 -08:00
Evan Almloff
4bf655851b
fix pre tag typo
2023-02-14 09:56:39 -06:00
Evan Almloff
c84003de98
update tests to escape text
2023-02-14 09:06:59 -06:00
Evan Almloff
c9f9b8b0fa
escape text in ssr
2023-02-14 08:44:01 -06:00
Evan Almloff
b6c7d44a27
fix clippy
2023-01-27 20:35:46 -06:00
Evan Almloff
52d5c8d4e7
update READMEs and tags for the 0.3 release
2023-01-10 10:16:11 -06:00
Jonathan Kelley
7f01f61138
feat: publish 0.3 versions of many crates
2023-01-04 14:31:07 -05:00
Jonathan Kelley
4fdbce9a70
chore: clean up readmes
2022-12-29 16:17:03 -05:00
Jonathan Kelley
8887d65e1b
Merge branch 'master' into jk/suspense-rollover
2022-12-25 22:10:22 -05:00
Jonathan Kelley
5a70c6ecf9
chore: swap over router none
2022-12-22 14:45:48 -05:00
Evan Almloff
e5a5850354
merge master
2022-12-20 20:48:28 -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
7ce07e3164
chore: fix tests passing
2022-12-07 15:29:32 -08:00
Jonathan Kelley
5673017def
chore: clean up the repo some
2022-12-06 17:50:25 -08:00
Jonathan Kelley
5a0ae67ccb
chore: make clippy happy
2022-12-06 17:44:29 -08:00
Jonathan Kelley
34d9aafe0e
feat: overhaul ssr
2022-12-06 17:41:47 -08:00
Jonathan Kelley
b182a6ee75
chore: clean up interpreter and bindings
2022-12-05 16:47:04 -08:00
Jonathan Kelley
7b1cdb7d85
feat: get desktop working with new template strategy
2022-12-05 16:08:41 -08:00
Jonathan Kelley
a61daf220d
feat: context api overhaul
2022-12-02 16:24:49 -08:00
Jonathan Kelley
3c19def550
chore: get create working and simplify dynamic nodes
2022-11-30 11:24:13 -05:00
Jonathan Kelley
491bf4332d
wip: stop transmuting reference
2022-11-21 17:00:34 -08:00
Jonathan Kelley
04bc635ac5
wip: prep to fix bug in create
2022-11-15 23:22:41 -08:00
Jonathan Kelley
0dad91bc08
wip: pass more events
2022-11-15 16:37:23 -08:00
Jonathan Kelley
47d0f51e00
wip: overhaul event system
2022-11-15 16:05:22 -08:00
Jonathan Kelley
a38fc9e4ab
feat: suspense!
2022-11-06 01:48:34 -07:00
Jonathan Kelley
d2ce57ba6e
feat: poll async once
2022-11-03 20:56:31 -07:00
Jonathan Kelley
584504feb7
feat: keys
2022-11-03 01:24:20 -07:00
Jonathan Kelley
dddbcfd5e2
feat: works with components
2022-11-02 17:36:36 -07:00
Jonathan Kelley
c6a6c3d0f8
feat: components pass thru children
2022-11-02 17:29:18 -07:00
Jonathan Kelley
b6c0bce89c
feat: support cached ssr
2022-11-02 01:00:37 -07:00
Jonathan Kelley
22d4bf7346
feat: use walking pattern
2022-10-26 18:04:47 -07:00
Jonathan Kelley
7cbb4d52dd
wip: more modifications to templates
2022-10-21 18:54:14 -07:00
Jonathan Kelley
90982e0ccb
wip: start to refactor out hot reloading from packages
...
Also implement alternative simpler template system
2022-10-20 09:56:09 -07:00
Demonthos
3b7b503333
Refactor Mutations and simplify Templates ( #578 )
...
* update mutations to be path based rather than renderer integrated
2022-10-18 14:42:45 -07:00
Demonthos
daeffd4149
pass clippy ( #575 )
2022-10-02 14:12:24 -07:00
Demonthos
047ed1e553
Subtree memorization / reactive templates ( #488 )
...
This commit adds subtree memoization to Dioxus.
Subtree memoization is basically a compile-time step that drastically
reduces the amount of work the diffing engine needs to do at runtime by
extracting non-changing nodes out into a static "template." Templates
are then understood by the various renderers in the ecosystem as a
faster way of rendering the same items.
For example, in the web, templates are simply a set of DOM Nodes created
once and then cloned later. This is the same pattern frameworks like Lithtml
and SolidJS use to achieve near-perfect performance.
Subtree memoization adds an additional level of complexity to Dioxus. The RSX
macro needs to be much smarter to identify changing/nonchanging nodes and
generate a mapping between the Template and its runtime counterparts.
This commit represents a working starter point for this work, adding support
for templates for the web, desktop, liveview, ssr, and native-core renderers.
In the future we will try to shrink code generation, generally improve
performance, and simplify our implementation.
2022-09-30 12:03:06 -07:00
Jon Kelley
d9546d9504
Renderers are now packages, not features. ( #387 )
...
* feat: use synchronous router design
* feat: function to get router out of dom
* chore: restructure workspace to use renderers as packages, not features
2022-07-09 15:15:20 -04:00
Evan Almloff
fbf8e13b8d
clean up imports
2022-06-25 08:27:10 -05:00