Commit Graph
33 Commits
Author SHA1 Message Date
Evan Almloff 41bf87e74f Merge branch 'upstream' into simplify-native-core 2023-03-14 16:21:39 -05: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
Jonathan Kelley d090b24f8d chore: prevent reference from being uploaded 2022-07-18 13:52:01 -07:00
Breno RochaandJon Kelley 6ea076fa7f Add PT-BR translations (#456)
* Translate final.md, hello_world.md, README.md, ROADMAP.md and SUMMARY.md

* Translatation complete

* Internationalization: move guide to en folder and preserve its history. (#494)

* Clean files and build mdBook with localization feature

* Rebase, remove leftovers and check book builds for every language: ✅

Co-authored-by: Jon Kelley <jkelleyrtp@gmail.com>
2022-07-11 13:28:12 -04:00
Reinis Mazeiks 6c323e9fc5 Rework Guide (#486)
* Move getting started to Guide

* Clean up summary and getting started

* Shorten intro by moving stuff to individual platform docs

* Make intro even shorter, summarize features

* Further cleanup; move development-related docs to separate section

* Make `guide` a crate. Turn code samples into examples so that we can check if they compile

* Rewrite "Describing the UI":

* Focus on RSX syntax (interactivity covered in later chapters); make sure samples are tested; concise language

* Move some "special attribute" samples to the `examples` directory

* Simplify introduction to components

* Simplify introduction to component props

* Document Prop features; add code samples

* Simplify component children docs

* Interactivity: better introduction to events

* Hooks: better introduction

* Remove outdated doc

* Introducs use_ref

* Simplify User Input chapter

* Document event handler props

* Meme editor example

* Meme editor walkthrough

* Add dark mode example

* Guide for context; dark mode example

* Guide: custom hooks

* Guide: conditional rendering

* Guide: rendering lists

* Guide: rendering lists + keys

* Move remaining infor from Reference to guide

* Delete reference book
2022-07-07 08:50:36 +00:00
Demonthos 4a5ae758ee Allow Multiple dependencies for states in the RealDom (native core) (#412)
* WIP multable deps

* WIP: refactor and genralize state macro

* add traversable trait

* update tui to use elementid to index dom
2022-07-07 00:50:22 -04:00
Reinis Mazeiks 48d96869d3 Reference: remove empty and almost empty pages
(Avoids confusion and improves navigation)
2022-06-30 22:49:19 +03:00
Reinis Mazeiks f3fcec2bdf Merge branch 'master' of https://github.com/DioxusLabs/dioxus into rusty-events
 Conflicts:
	packages/html/src/events.rs
	packages/tui/src/hooks.rs
2022-06-28 21:09:20 +03:00
YuKun Liu 0af69f83f2 Rename hot_reload to hot-reload 2022-06-26 14:23:19 +08:00
Evan Almloff d422a23c94 add a chapter in the refrence 2022-06-14 09:55:46 -05:00
ZingerLittleBee 2cdd142c3e fix: desktop project name in docs 2022-05-23 00:56:08 +08:00
Reinis Mazeiks 45980f9a1e Update examples to avoid deprecated API 2022-05-12 15:00:43 +03:00
Jon Kelley f7e67cb2d7 Merge pull request #329 from Demonthos/lazy_tui
Tui Lazy Attributes and Layout
2022-05-02 21:38:18 -04:00
Evan Almloff 99fea74786 change with_ctrl_c_quit to without_ctrl_c_quit 2022-04-30 16:52:54 -05:00
Evan Almloff 159be32fd4 update documentation to refect tui changes 2022-04-21 13:48:11 -05:00
Evan Almloff 7c30d93a3d nested state 2022-04-19 20:12:57 -05:00
Demonthos f4689a4e27 Merge branch 'DioxusLabs:master' into lazy_tui 2022-04-17 08:48:39 -05:00
Evan Almloff d9276bd64c clean up code and docs 2022-04-17 07:29:35 -05:00
Evan Almloff 4718668389 add docoumentation for custom_renderer 2022-04-17 07:10:15 -05:00
Erlend Sogge Heggen 5f17b6a849 Update mobile.md 2022-04-11 09:53:08 +02:00
Tim Lee a5a5821aa5 Include optional public-url flag in build instruction within getting started docs 2022-04-08 15:32:07 +01:00
Evan Almloff 32b2e3a135 bugfixes, docs, and pass clippy 2022-04-02 16:46:46 -05:00
Malcolm Rebughini d897d2148a docs(reference/platforms/ssr): fixing example and commands 2022-02-17 19:17:32 -08:00
Miles Murgaw 1413631d30 update: match DioxusLabs/docs#3 2022-02-14 19:08:10 -05: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 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 d1560450ba wip: remove runner on hook and then update docs 2022-01-02 02:15:04 -05: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