Commit Graph
3574 Commits
Author SHA1 Message Date
Jon Kelley fb2f3e68ff fix: random commit (#586) 2022-10-08 23:07:20 -07:00
YuKun Liu cf9a9513df feat: commit code 2022-10-08 21:28:06 -07:00
saicu 6476335750 to_owned!: allow optional comma at the end (#584) 2022-10-08 16:23:26 -07:00
Jonathan Kelley 62e067ef5d fix: center time 2022-10-07 01:11:59 -07:00
Jonathan Kelley 64c19c6e67 fix: no h2 for platforms 2022-10-07 01:10:48 -07:00
Jonathan Kelley 56a6ac2242 fix: headers 2022-10-07 01:04:58 -07:00
Jonathan Kelley 1a18911e21 fix: readme html 2022-10-07 01:04:17 -07:00
Jon Kelley 4f1cf78e68 design: make the homepage snazzier (#580)
* feat: snazzy header

* feat: better svg

* fix: optimize svg for safari

* feat: prettier homepage
2022-10-07 01:00:32 -07:00
YuKun Liu f238e43bff feat: commit code 2022-10-06 17:25:57 -07:00
Jonathan Kelley 03bc63dacc wip: wire up bodynodes in more places 2022-10-05 01:13:14 -07:00
YuKun Liu 5104f767b3 Merge branch 'master' of https://github.com/DioxusLabs/cli 2022-10-03 09:37:26 -07:00
YuKun Liu b3dcebcc50 feat: commit code 2022-10-03 08:47:58 -07:00
YuKun Liu 2d158c9afc Merge pull request #65 from Demonthos/templates
update hot reloading to work with templates
2022-10-03 08:44:13 -07:00
YuKun Liu 3fe3598f51 Merge pull request #70 from xTeKc/readme
update Readme
2022-10-02 22:35:40 -07:00
YuKun Liu 4960b05b7a Merge pull request #71 from xTeKc/cli-mod
update: match comments to readme
2022-10-02 22:34:17 -07:00
Demonthos 928b5358b2 allow arbitrary attribute value in owned attribute value (#574) 2022-10-02 14:13:06 -07:00
Marc Espín e98f46bbcc Remove a Node listeners when it is removed (#576) 2022-10-02 14:12:33 -07:00
Demonthos daeffd4149 pass clippy (#575) 2022-10-02 14:12:24 -07:00
Demonthos 46d46b139a Merge branch 'master' into templates 2022-10-02 07:12:14 -05:00
xTeKc 348180ec40 Merge branch 'DioxusLabs:master' into cli-mod 2022-10-02 02:35:00 -04:00
xTeKc 3bee0308fc update to match readme 2022-10-02 02:34:22 -04:00
xTeKc 64a5329fda Merge branch 'DioxusLabs:master' into readme 2022-10-02 02:29:17 -04:00
xTeKc 555680df99 update: improve readability 2022-10-02 02:28:25 -04:00
YuKun Liu 62a2bb551e Merge pull request #69 from xTeKc/master
update build.yml: add new target
2022-10-01 22:16:07 -07:00
xTeKc 99a7f68a28 update build.yml: add new target 2022-10-02 01:12:34 -04:00
YuKun Liu 77393b273e feat: commit plugin error handle 2022-10-01 15:17:09 -07:00
Jon Kelley 4dbb4e1e4b Merge pull request #68 from DioxusLabs/mrxiaozhuox-patch-2
Fix Docs CI to not deploy on any pull request
2022-09-30 13:46:30 -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
Jonathan Kelley 181a51a63b wip: add whitespace parsing to rsx 2022-09-30 10:51:53 -07:00
Demonthos b32fd2d2cd fix scroll data (#569) 2022-09-30 10:48:52 -07:00
Marc Espín 964a942243 Feat: Make AttributeValue::Any usable (#565)
* Implemented Display for AttributeValue::Any

* Make ArbitraryAttributeValue public

* allow(missing_docs) for ArbitraryAttributeValue

* Formatted lib.rs
2022-09-30 10:48:25 -07:00
Jonathan Kelley 5313fc0cc6 fix: trailing commas with key 2022-09-28 17:06:11 -07:00
Jonathan Kelley a37458b9fa chore: fixes to autoformat to prevent double rendering of expr line 2022-09-28 16:47:10 -07:00
YuKun Liu a81f0c6810 Update docs.yml 2022-09-28 07:59:15 -07:00
YuKun Liu 762093094f feat: commit code 2022-09-27 20:34:32 -07:00
Jon Kelley 28fba42e7e feat: add an unhygenic render macro (#556)
* feat: add an unhygenic render macro

* chore: use render instead of rsx!(cx,
2022-09-25 01:05:16 -07:00
Jon Kelley 0c48cb3601 feat: use infer instead of outdated mime-guess, bump wry (#548)
* feat: use infer instead of outdated mime

* chore: remove unused file

* fix: remove unused file
2022-09-24 23:48:05 -07:00
YuKun Liu 52e8d9f357 Merge branch 'master' into master 2022-09-25 13:55:46 +08:00
YuKun Liu 6ad1333a94 feat: commit code 2022-09-24 22:50:13 -07:00
YuKun Liu 6004cfdd40 feat: add some command 2022-09-23 16:10:17 -07:00
YuKun Liu 0c7d921853 Merge pull request #66 from Oyami-Srk/windows-fix
Fix problems on windows and jetbrains
2022-09-24 03:33:20 +08:00
Shiroko a0ffb3bb65 Fix jetbrains saving tmp file to tilde suffix 2022-09-24 03:25:01 +08:00
Shiroko dddaec20fc Fix program not found by fallback to ANSI-escape 2022-09-24 01:45:40 +08:00
YuKun Liu 9ee572ad26 docs: add path docs 2022-09-23 09:34:12 -07:00
YuKun Liu e2852a60d1 feat: commit code 2022-09-22 17:03:15 -07:00
YuKun Liu b59e41eaee fix: move is_dir & is_file to path 2022-09-22 17:01:38 -07:00
YuKun Liu 1c59c902a6 docs: commit docs 2022-09-22 11:05:37 -07:00
YuKun Liu d47319526c docs: commit new document 2022-09-22 08:32:57 -07:00
YuKun Liu f099042726 docs: commit new document 2022-09-22 00:24:07 -07:00
YuKun Liu 20c29ed042 feat: add serve-shutdown support 2022-09-21 22:57:26 -07:00