Commit graph

296 commits

Author SHA1 Message Date
Kris Warner
e61fa44497 Make minor grammar, spelling, and style changes 2022-03-27 21:24:14 -04:00
Kris Warner
cb1e16c91c Fix name of later chapter 2022-03-26 10:58:54 -04:00
Kris Warner
36ccb835ab Clarify that expr in string literal limit of Rust 2022-03-26 10:52:55 -04:00
Kris Warner
55b818b08d Fix link to router guide 2022-03-26 00:04:58 -04:00
Kris Warner
2ffd90c98b Remove bullets from numbered list 2022-03-25 22:36:40 -04:00
Kris Warner
e57c0890ec Delete redundant sentence 2022-03-25 22:26:42 -04:00
Jon Kelley
d3ac3db296
Merge pull request #315 from Synphonyte/master
Option<...> props are optional by default.
2022-03-20 19:59:35 -04:00
Imbolc
1082472756
Update setup.md
A typo
2022-03-20 08:42:45 +03:00
Marc-Stefan Cassola
be55524e69
Change optional props docs 2022-03-15 19:49:16 +00:00
Jonathan Kelley
841ad91fe1 fix: dblclick instead of doubleclick 2022-03-11 10:49:38 -05:00
YuKun Liu
9620dc05af
Change trunk to dioxus-cli 2022-03-10 09:07:41 +08:00
Jonathan Kelley
60619a8380 post: update name 2022-03-09 18:13:50 -05:00
Jonathan Kelley
ff81f1c819 feat: update release posts 2022-03-09 18:11:40 -05:00
Jonathan Kelley
77c7713f55 feat: finish release psot 2022-03-09 14:59:18 -05:00
Jonathan Kelley
437716eaea wip: update with images 2022-03-09 14:45:34 -05:00
Jonathan Kelley
b0183b76cd release: add posts for releases 2022-03-09 14:27:01 -05:00
Jonathan Kelley
38d07f7111 docs: add some more to async 2022-03-09 12:33:28 -05:00
Jonathan Kelley
3e9023b131 docs: finish async 2022-03-09 10:22:12 -05:00
Jonathan Kelley
be2b4d36de fix: linking in attributions 2022-03-08 14:43:19 -05:00
Jonathan Kelley
c6fdd03a9d feat: add attributions for crates 2022-03-08 14:41:49 -05:00
Jonathan Kelley
3acd643afb docs: more docs and an errorhandling example 2022-03-08 14:15:18 -05:00
Jonathan Kelley
59f38839fa
Merge pull request #295 from DioxusLabs/jk/docsoverhaul
Docs: actually finish all of the documentation.
2022-03-08 00:56:44 -05:00
Jonathan Kelley
0f87ebb277 docs: even more docs 2022-03-06 20:37:57 -05:00
YuKun Liu
485f6f69f0
Update hooks.md 2022-03-06 15:05:21 +08:00
Jonathan Kelley
7805b1ad63 docs: add simple router book 2022-03-02 17:52:28 -05:00
Jonathan Kelley
94fedcbc91
Merge pull request #269 from mrxiaozhuox/master
Add `Dioxus-cli` Document
2022-02-27 02:33:54 -05:00
YuKun Liu
2df0e54d6a docs: commit docs 2022-02-27 08:22:31 +08:00
YuKun Liu
91c40f3b88 docs: commit docs 2022-02-27 08:22:00 +08:00
YuKun Liu
4480874ee2 docs: commit docs 2022-02-24 23:35:26 +08:00
Jörg Kurlbaum
cc0e2c4877 Add options for compilation on systems that lack libappindicator3 2022-02-24 14:32:43 +01:00
YuKun Liu
9301a55abf docs: commit docs 2022-02-22 19:21:23 +08:00
YuKun Liu
9fb5019929 docs: add commands 2022-02-21 21:25:58 +08:00
YuKun Liu
ff92b10055 docs: commit docs 2022-02-21 20:37:46 +08:00
Oliver Forral
d700850b70
fixing build warnings in hello world example
Fixing this warning when I try to compile

warning: function `App` should have a snake case name
 --> src/main.rs:7:4
  |
7 | fn App(cx: Scope) -> Element {
  |    ^^^ help: convert the identifier to snake case: `app`
  |
  = note: `#[warn(non_snake_case)]` on by default

Also changing edition from 2018 to 2021
2022-02-20 17:27:07 -07:00
YuKun Liu
ac808d31ad docs: add cli docs 2022-02-20 18:23:11 +08:00
YuKun Liu
6ca0a0a4f9 docs: add installation page 2022-02-20 11:28:22 +08:00
YuKun Liu
e039c5b001 docs: add introduction 2022-02-20 11:08:53 +08:00
YuKun Liu
5f36dd0ee3 docs: init cli docs 2022-02-20 10:19:02 +08:00
Jonathan Kelley
f3ad776430
Merge pull request #263 from malcolmrebughini/master
docs(reference/platforms/ssr): fixing example and commands
2022-02-18 11:40:59 -05:00
Malcolm Rebughini
d897d2148a docs(reference/platforms/ssr): fixing example and commands 2022-02-17 19:17:32 -08:00
Jonathan Kelley
d461ffc011 feat: integrate fermi 2022-02-17 10:38:51 -05:00
Miles Murgaw
2fea2fb13a Merge branch 'master' of https://github.com/DioxusLabs/dioxus 2022-02-15 13:39:02 -05:00
Dave Rolsky
7c2d911fbf Fix closure signature for use_ref example in interactivity docs
The example showed the closure accepting a single argument, but it accepts
none.
2022-02-15 09:54:32 -06:00
Miles Murgaw
1413631d30 update: match DioxusLabs/docs#3 2022-02-14 19:08:10 -05:00
dazmaks
3317b3aac5 fix: typo 2022-02-14 17:13:09 +03:00
Jonathan Kelley
a325c03dd9 fix: lifetimes again 2022-02-12 11:02:55 -05:00
Jonathan Kelley
0596088312 docs: fix lifetimes on children 2022-02-12 10:57:57 -05:00
Jonathan Kelley
84fb8cf6cf fix: add folder 2022-02-10 12:22:47 -05:00
Jonathan Kelley
13456ec00c ci: fire deploy 2022-02-10 12:21:38 -05:00
Jonathan Kelley
7c60260672 ci: fire deploy 2022-02-10 12:20:23 -05:00
Jonathan Kelley
8be5cb097b docs: try fire deploy 2022-02-10 12:01:34 -05:00
Reinis Mazeiks
f5907a682e Add a better introduction to what Components are. 2022-02-10 15:50:11 +02:00
Reinis Mazeiks
fc7d94b8d1 Proofread chapter 7 2022-02-10 13:28:54 +02:00
Reinis Mazeiks
ebc768932d Proofread chapter 6 2022-02-10 12:36:27 +02:00
Reinis Mazeiks
02d8e66f40 Refactor: move Component docs into the components directory to reflect how they are presented in the guide 2022-02-10 10:07:33 +02:00
Reinis Mazeiks
6727de447b Proofread & rephrase chapters 1-5 for readability 2022-02-09 19:35:56 +02:00
j1ngzoue
abbd0b8a39 fix: update the sample 2022-02-08 10:25:25 +09:00
Jonathan Kelley
8b402f946a docs: updaet hooks 2022-01-29 10:15:23 -05:00
Jonathan Kelley
3d75f1cb05 docs: fix some typos 2022-01-28 16:11:04 -05:00
Jonathan Kelley
b0fd034ae7 docs: add important hooks 2022-01-28 03:20:42 -05:00
Jonathan Kelley
564284f4be docs: add rules of hooks 2022-01-28 03:04:21 -05:00
Jonathan Kelley
4fb2221ee1 docs: buff up the theory of react 2022-01-28 02:44:13 -05:00
Jonathan Kelley
0592cdb135 Merge branch 'master' into jk/docs 2022-01-28 00:21:42 -05:00
Jonathan Kelley
1c6d6421dc wip: add router 2022-01-24 03:01:04 -05:00
Dave Rolsky
9e4ec43b1e Fix various typos and grammar nits
I also removed all trailing whitespace from lines since I have Emacs
configured to highlight this.
2022-01-21 21:43:43 -06:00
Jonathan Kelley
baf722de11 docs: add a roadmap 2022-01-15 20:14:51 -05:00
YuKun Liu
5d85eb6438
fix: edit git-repository-url 2022-01-13 18:16:55 +08:00
Benjamin Bädorf
79c39c164d
Fix typo in docs 2022-01-11 17:43:23 +00:00
Jonathan Kelley
1560e2daca docs: add more docs 2022-01-11 01:11:47 -05:00
Jonathan Kelley
bdf234d728 docs: improve components and elements 2022-01-09 22:28:07 -05:00
Jonathan Kelley
d5b05d640b docs: add more doc 2022-01-07 21:56:44 -05:00
Dave Rolsky
31bd010226 Fix typo of Diane's name
Those two American kids are just growing up as fast as they can, huh?
2022-01-06 10:11:47 -06:00
Dave Rolsky
a9500f3413 Fix typo in PostList example in guide 2022-01-06 10:11:30 -06:00
Jonathan Kelley
8994467189
Merge pull request #67 from DioxusLabs/jk/router2dotoh
Fix/Feat: Memoize VComponents from their ptrs. Add new router!
2022-01-05 16:35:02 -05:00
Jonathan Kelley
427b126bc1 feat: add prevent default attribute and upgrade router 2022-01-05 16:34:24 -05:00
Chris Morgan
0a9f862cf8
Fix errors in the suggested index.html template
What was there was an abomination that would not behave at all properly.
The changes I’ve made are extremely conservative. Myself, I’d get rid of
the <html>, <head>, </head>, <body>, </body> and </html> lines as
superfluous, and remove the space inside the div, which I certainly hope
isn’t load-bearing.
2022-01-04 21:55:41 +11:00
Jonathan Kelley
616227bd3d fix: release post link 2022-01-03 14:42:36 -05:00
Jonathan Kelley
3de776c42a docs: fix the reference code 2022-01-03 13:26:15 -05:00
Jonathan Kelley
5dc4ec5639 docs: getting stated guides 2022-01-03 11:32:03 -05:00
Jonathan Kelley
1b6e608cd0 docs: update references 2022-01-03 10:20:14 -05:00
Jonathan Kelley
cafb7df736 docs: remove all usages of static closure syntax and update readme 2022-01-02 18:35:38 -05:00
Jonathan Kelley
d1560450ba wip: remove runner on hook and then update docs 2022-01-02 02:15:04 -05:00
Jonathan Kelley
3dc0e59876 fix: readme and examples syntax 2021-12-28 23:48:25 -05:00
Jonathan Kelley
b3ac2ee3f7 wip: upgrade hooks 2021-12-27 15:03:43 -05:00
Jonathan Kelley
c0e0196a67 docs: update the docs 2021-12-26 14:22:40 -05:00
Jonathan Kelley
4de16c4779 docs: update local examples and docs to support new syntaxes 2021-12-15 15:56:53 -05:00
Jonathan Kelley
93d4b8ca7c wip: some docs and suspense 2021-11-23 15:53:57 -05:00
Jonathan Kelley
a5f05d73ac wip: docs and router 2021-11-19 00:49:04 -05:00
Jonathan Kelley
d298b626d3 wip: add router 2021-11-03 00:35:56 -04:00
Jonathan Kelley
9874f342e2 docs: more docs 2021-11-01 18:38:09 -04:00
Jonathan Kelley
5ffa60664c docs: update docs surrounding cx.render 2021-11-01 13:39:07 -04:00
Jonathan Kelley
12a9758c3c docs: new advanced guide 2021-10-29 16:37:55 -04:00
Jonathan Kelley
97a2c62804 docs: create a new "advanced" book 2021-10-29 00:40:36 -04:00
Jonathan Kelley
54d050cf89 docs: strong improvmenets, first major section done 2021-10-29 00:28:23 -04:00
Jonathan Kelley
db0004758c Merge branch 'master' into jk/remove_node_safety 2021-10-28 17:09:51 -04:00
Jonathan Kelley
78007445f9 docs: improve docs 2021-10-28 17:07:16 -04:00
Jonathan Kelley
9b5f82af7d docs: start on components 2021-10-27 22:32:12 -04:00
Jonathan Kelley
9f7eb0f600 wip: remove HTML macro and add custom fields 2021-10-27 16:41:00 -04:00
Jonathan Kelley
a42711a324 wip: docs 2021-10-27 14:54:49 -04:00
Jonathan Kelley
9839f52355 docs: clean up setup 2021-10-27 14:33:16 -04:00
Jonathan Kelley
fda2ebc2a2 feat: improve safety 2021-10-25 15:05:17 -04:00
Alexandre Kirszenberg
5747e00b27 Various typos/grammar/rewording 2021-10-24 19:30:36 +02:00
Jonathan Kelley
7d612c77f9 chore: remove website 2021-10-19 00:18:25 -04:00
Jonathan Kelley
9726a065b0 feat: massage lifetimes 2021-10-16 17:37:28 -04:00
Jonathan Kelley
16dbf4a6f8 wip: book documentation 2021-10-16 17:04:28 -04:00
Jonathan Kelley
4a0bb8cf84 wip: portals 2021-10-08 16:01:13 -04:00
Jonathan Kelley
a2c7d17b05 feat: mvoe away from compound context 2021-09-21 13:42:52 -04:00
Jonathan Kelley
9971ff215d polish: change in cx to cx 2021-09-16 13:20:04 -04:00
Jonathan Kelley
dfaf5adee1 Feat: solve some issues regarding listeners 2021-07-24 00:29:23 -04:00
Jonathan Kelley
bf29209637 Delete CNAME 2021-07-20 19:05:19 -04:00
Jonathan Kelley
4a72b3140b feat: amazingly awesome error handling 2021-07-18 12:39:32 -04:00
Jonathan Kelley
583fdfa561 docs: big updates to the reference 2021-07-16 16:11:25 -04:00
Jonathan Kelley
caf772cf24 wip: docs, html! macro, more 2021-07-16 00:27:06 -04:00
Jonathan Kelley
3a0919da36 wip: workshop the readme 2021-07-12 12:19:50 -04:00
Jonathan Kelley
98a09339fd wip: move some examples around 2021-07-07 16:19:10 -04:00
Jonathan Kelley
818043e5e4 chore: move nojekyll 2021-07-01 16:05:26 -04:00
Jonathan Kelley
952a91d540 wip 2021-07-01 14:14:59 -04:00
Jonathan Kelley
c5f9cce63a wip: more on signals 2021-06-30 17:20:13 -04:00
Jonathan Kelley
14d55d50ca concept: signals guide 2021-06-30 16:47:30 -04:00
Jonathan Kelley
93900aac44 concept: integrate signals 2021-06-30 14:08:12 -04:00
Jonathan Kelley
0826fdfee1 docs: more docs 2021-06-26 02:05:20 -04:00
Jonathan Kelley
81382e7044 chore: rename ctx to cx 2021-06-25 21:15:33 -04:00
Jonathan Kelley
100a78f321 docs: fix types and add a conclusion to custom renderer guide 2021-06-24 00:27:48 -04:00
Jonathan Kelley
17f6576e98 Docs: fleshed out custom renderer doc 2021-06-24 00:18:29 -04:00
Jonathan Kelley
517d7f1495 Chore: some cleanup and documentation 2021-06-10 01:01:53 -04:00
Jonathan Kelley
69f5cc3802 docs: move into a fromjs tutorial 2021-06-03 12:02:46 -04:00
Jonathan Kelley
50c8b93aad Feat: move the rsx macro around 2021-06-03 10:42:28 -04:00
Jonathan Kelley
1919f88f03 Feat: some docs 2021-06-02 11:07:30 -04:00
Jonathan Kelley
508c560320 Feat: massive changes to definition of components
This change switches back to the original `ctx<props>` syntax for
commponents. This lets lifetime elision to remove the need to match
exactly which lifetime (props or ctx) gets  carried to the output. As
such, `Props` is currently required to be static. It *is* possible to
loosen this restriction, and will be done in the future, though only
through adding metadata about the props through the Props derive
macro. Implementing the IS_STATIC trait is unsafe, so the derive macro
will do it through some heuristics.

For now, this unlocks sharing vnodes from parents to children, enabling
pass-thru components, fragments, portals, etc.
2021-06-01 18:33:15 -04:00
Jonathan Kelley
9237d02cf2 Feat: update docs a bit 2021-03-02 01:47:27 -05:00
Jonathan Kelley
ffaf687896 Feat: update readme and examples 2021-03-01 00:16:48 -05:00
Jonathan Kelley
c8bb392cad Feat: view -> render 2021-02-28 21:21:17 -05:00
Jonathan Kelley
cc882932e1 Feat: shorten readme 2021-02-16 01:41:41 -05:00
Jonathan Kelley
8295ac4b3d Feat: major overhaul, wire up event system 2021-02-12 03:07:35 -05:00
Jonathan Kelley
24e8bcb028 Feat: bump GH again 2021-02-09 12:44:37 -05:00
Jonathan Kelley
057473b430 Feat: bump github 2021-02-09 12:38:35 -05:00
Jonathan Kelley
a61503f6cc Feat: homepage update from rocket 2021-02-09 12:33:54 -05:00
Jonathan Kelley
204f0d9f16 Feat:
- integrate subscription service into context.
- Update documentation
2021-02-08 16:57:34 -05:00
Jonathan Kelley
ee23ea6c3a Feat: fix docs names 2021-02-08 11:12:02 -05:00
Jonathan Kelley
f2eec79fd4 Merge branch 'master' of https://github.com/jkelleyrtp/dioxus 2021-01-29 12:10:16 -05:00
Jonathan Kelley
689e017108 Feat: index.html 2021-01-29 12:09:02 -05:00
Jonathan Kelley
394323319e Create CNAME 2021-01-29 12:04:47 -05:00
Jonathan Kelley
a2406b33d6 Feat: updates to docs, extension 2021-01-29 11:57:52 -05:00
Jonathan Kelley
4d7ac5bb5d Feat: dioxus frontend crate 2021-01-20 12:04:27 -05:00
Jonathan Kelley
d13e04c9ff Feat: more docs, example, mroe nodes 2021-01-15 23:25:29 -05:00
Jonathan Kelley
2b9c8d09d9 Feat: docs, code frm percy 2021-01-14 02:56:41 -05:00