Evan Almloff
e65c5f0eb3
depreciate the render macro
2024-01-16 13:18:46 -06:00
Evan Almloff
407a82588a
fix more examples
2024-01-16 12:28:21 -06:00
Evan Almloff
db35a9b48c
add platform specific functions for launching apps for workspaces
2024-01-16 11:45:02 -06:00
Evan Almloff
7e4d2debe0
implement launch builder for the desktop and web platforms
2024-01-16 08:42:16 -06:00
Jonathan Kelley
fe12b1062f
Clean up more examples
2024-01-15 14:40:56 -08:00
Jonathan Kelley
6134a2ce24
Clean up a number of examples
2024-01-15 13:06:05 -08:00
Jonathan Kelley
1dde044697
remove cx.render
2024-01-13 21:12:21 -08: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
d9b84f9f8f
Disambiguate expressions in rsx by requiring curlies
2024-01-10 19:33:34 -08:00
Jonathan Kelley
8df7a7685e
Merge branch 'master' into many_optional_attributes
2024-01-04 10:18:57 -08:00
Evan Almloff
c0f345e775
add if statements to test and rsx usage example
2023-09-19 09:48:56 -05:00
Leonard
c866ae602b
Add system for creating component attributes + new #[component]
attribute ( #1448 )
...
* Add `#[component]` attribute + system for creating component attributes + other stuff
* Delete inlineprops.rs
* Update inline_props.rs
* Cargo fmt
* Fix clippy warnings and paths in props/mods.rs
* Include where clause in `#[inline_props]` output
* Allow Clippy type complexity in `LinkProps`
* Allow the type complexity lint for the entire link.rs file
* Remove snake_case -> PascalCase converter, but rather enforce PascalCase
Also:
- Put the second function inside the main one instead of besides it.
- Simplify
* Simplify type check lints so they don't return false positives
They will not always work, but they won't return any false positives, like for aliases. This is likely going to be replaced by a more polished Clippy-backed linting system.
* Fix #583
* Cargo fmt
* Add docs for `deserialize()` and remove useless comment
* Add `#[component]` to prelude
* Merge branch 'master' of https://github.com/tigerros/dioxus
* #[inline_props] is no more. Except in the docs folder, but that's going to be removed
* Remove docs folder
* Remove docs from workspace
* Resolve `DeserializerOutput` conversation
2023-09-15 09:13:36 -05:00
Evan Almloff
b6c7d44a27
fix clippy
2023-01-27 20:35:46 -06:00
Jonathan Kelley
b254d9e761
chore: remove cross-crate doc comments
2022-12-09 15:03:56 -08:00
Jonathan Kelley
4eefc3f854
chore: rename all &cx to cx, make clipppy happy
2022-12-07 13:11:40 -08:00
Jonathan Kelley
3c19def550
chore: get create working and simplify dynamic nodes
2022-11-30 11:24:13 -05:00
Jonathan Kelley
e09b6bf813
chore: tweak generic arguments and iterators in rsx
2022-11-15 20:58:56 -08:00
Jon Kelley
41b450eedf
chore: remove unnecessary brackets from examples ( #552 )
2022-09-13 14:57:23 -07:00
Jon Kelley
67dc6e6017
feat: implement type magic to allow strings, format args, and other types directly in rsx ( #550 )
...
* feat: implement type magic
* chore: undo example
* fix: let tests pass
* chore: add generic to allow any nesting of iterators
* Chore: remove comments
* chore: update rsx usage
* chore: use cleaner version of generic IntoVnode
* chore: don't derive default for lfietimed thing
* chore: remove latent comment
* fix: accept a third parameter
2022-09-12 22:49:04 -07:00
Jon Kelley
38e8745db9
Remove lower case components that use the paran syntax ( #551 )
...
* chore: remove lowercase components
* chore: add docs are lowercase components
* docs: also add docs around lowercase components in current scope
2022-09-12 20:01:03 -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
Muhannad Alrusayni
af8cd51258
test: Add test for generic components
2022-06-04 13:40:50 +03: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
4c85bcfdc8
awesome: arbitrary expressions excepted without braces
2021-12-30 03:14:47 -05:00
Jonathan Kelley
3dc0e59876
fix: readme and examples syntax
2021-12-28 23:48:25 -05:00
Jonathan Kelley
cda759c659
examples: upgrade to new version of dioxus core.
...
also add the inline_props macro
2021-12-25 17:18:05 -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
8daf7a6ed8
wip: go back to noisy lifetime solution
2021-12-14 02:27:59 -05:00
Jonathan Kelley
1e4a599d14
wip: rename fc to component
2021-12-09 21:19:31 -05:00
Jonathan Kelley
fd93ee89c1
feat: upgrade syntax
2021-11-10 17:09:52 -05:00
Jonathan Kelley
2933e4bc11
wip: major cleanups to scheduler
2021-11-06 23:11:17 -04:00
Jonathan Kelley
1e6e5e611b
wip: move examples around
2021-11-03 15:13:50 -04:00
Jonathan Kelley
ba9e1dbb8f
fix: messed up how lifetimes worked, need to render once per component
2021-10-29 21:43:21 -04:00
Jonathan Kelley
0e9d5fc530
wip: move everything over to a stack dst
2021-10-29 17:12:30 -04:00
Alexandre Kirszenberg
5747e00b27
Various typos/grammar/rewording
2021-10-24 19:30:36 +02:00
Jonathan Kelley
9726a065b0
feat: massage lifetimes
2021-10-16 17:37:28 -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
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
4091846934
feat: add aria
2021-07-13 00:56:39 -04:00
Jonathan Kelley
a85b8c4b6b
wip: apply formatting
2021-07-12 13:03:24 -04:00
Jonathan Kelley
e4cdb645aa
feat: beaf up the use_state hook
2021-07-08 09:29:12 -04:00
Jonathan Kelley
98a09339fd
wip: move some examples around
2021-07-07 16:19:10 -04:00
Jonathan Kelley
d9e6d0925b
docs: examples
2021-07-02 01:30:52 -04:00
Jonathan Kelley
81382e7044
chore: rename ctx to cx
2021-06-25 21:15:33 -04:00
Jonathan Kelley
daa9bd82c3
docs: more work on docs
2021-06-25 09:31:13 -04:00
Jonathan Kelley
7fbaf69cab
Docs: more examples and docs
2021-06-24 11:09:38 -04:00
Jonathan Kelley
62ae5d3bb9
wip: rethinking stack machine
2021-06-19 20:31:25 -04:00
Jonathan Kelley
70cd46dbb2
docs: move around examples
2021-06-17 18:00:32 -04:00