Commit graph

1852 commits

Author SHA1 Message Date
Jon Kelley
33eb59e21f
Merge pull request #431 from AOx0/master
Fix outdated guide section (React-like foo, set_foo)
2022-06-10 11:41:57 -04:00
Jon Kelley
a4375c84fb
Merge pull request #420 from ZingerLittleBee/master
fix: desktop project name in docs
2022-06-10 11:41:30 -04:00
CGQAQ
030f6d58fb conditional devtools 2022-06-10 06:04:54 +08:00
Evan Almloff
2f9393c650 remove example 2022-06-09 11:54:54 -05:00
Evan Almloff
38de26d0e4 remove attributes correctly 2022-06-09 10:31:11 -05:00
Evan Almloff
fe5c698c09 add DirtyAll to SchedulerMsg 2022-06-09 10:01:09 -05:00
Evan Almloff
d4dda577d6 remove extra print 2022-06-09 09:36:48 -05:00
Evan Almloff
017d269ca8 fix websocket error reporting 2022-06-09 09:36:28 -05:00
Jason
09b1d379d7
fix(desktop): makes release build working 2022-06-09 16:55:53 +08:00
Evan Almloff
b480579169 derive clone and debug for SetRsxMessage 2022-06-08 12:33:55 -05:00
Evan Almloff
e7cf382784 create websocket for hot reloading 2022-06-06 13:30:32 -05:00
Evan Almloff
07199c8a64 clean up imports 2022-06-06 13:29:56 -05:00
Evan Almloff
c7a332efaa remove mutex from RsxContext 2022-06-06 13:29:32 -05:00
Evan Almloff
0e97af989a capture varibles in keys 2022-06-06 13:02:15 -05:00
勤劳的小蜜蜂
b55ceb0e8f
Merge branch 'DioxusLabs:master' into master 2022-06-06 09:59:42 +08:00
Evan Almloff
7b629ef0f5 cleanup imports 2022-06-05 09:24:08 -05:00
Evan Almloff
3cd4175e2e remove braces from captured variables 2022-06-05 08:39:50 -05:00
Evan Almloff
2a6d9ed075 handle rsx!{cx, ...} 2022-06-05 07:38:05 -05:00
Evan Almloff
586e29d815 force rerender after rsx is updated 2022-06-04 15:31:40 -05:00
Evan Almloff
031640c9a4 document RSX_CONTEXT 2022-06-04 14:59:24 -05:00
Evan Almloff
8c6fceb0c7 finish desktop implementation 2022-06-04 14:26:37 -05:00
Evan Almloff
bb62254b6b remove refrence to __line_num 2022-06-04 12:26:46 -05:00
Evan Almloff
2bcaa2e43e refactor interperting macro into function and don't rely on cx being in scope 2022-06-04 12:20:56 -05:00
Muhannad Alrusayni
dded91a589 doc: put docs in once place instead of two 2022-06-04 13:40:50 +03:00
Muhannad Alrusayni
af8cd51258 test: Add test for generic components 2022-06-04 13:40:50 +03:00
Muhannad Alrusayni
252f9343b8 fix: Support Div () as component
previously I from some reason I thought this not allowed syntax. Some test
failed because of my misunderstood, so now I fix this :D
2022-06-04 13:40:50 +03:00
Muhannad Alrusayni
03a14f4a86 fix: element start with lowercase letter again :D 2022-06-04 13:40:50 +03:00
Muhannad Alrusayni
062f986841 refactor: Remove unused types from scope 2022-06-04 13:40:50 +03:00
Muhannad Alrusayni
37f7fe2ac6 fix: Element must be of lowercase letters only 2022-06-04 13:40:50 +03:00
Muhannad Alrusayni
690efade88 fix: Support Input::<..> style to for generic components
before that, we accepted this style `Input<..>` but to be consistent
with Rust syntax this is dropped now.

> For reference, the two ways of specifying explicit type parameters in
> Rust are:
> // for functions
> let _ = foo::<MyType>();
>
> // for structs
> let _ = Foo::<MyType> { ... };
>
> by @jkelleyrtp
2022-06-04 13:40:50 +03:00
Muhannad Alrusayni
5b079075d7 refactor: clean up commented code. 2022-06-04 13:40:50 +03:00
Muhannad Alrusayni
0b5b7f09db feat: Support generic component with inline_props with some limitation 2022-06-04 13:40:50 +03:00
Muhannad Alrusayni
a55b56b403 feat: Support generic components in rsx!() macro 2022-06-04 13:40:50 +03:00
Evan Almloff
0079f7d18b WIP: expose pipe for desktop 2022-06-02 13:33:08 -05:00
王一旋
2433b9d305 docs: examples of mistakes
docs: add hard_diff example missing parameter
2022-06-02 10:29:41 +08:00
Alejandro Osornio
6520b24d67
Update index.md
+ Fix outdated documentation
2022-06-01 15:52:43 -05:00
Evan Almloff
3b2ac82e8d fix spelling of interpreter 2022-05-31 12:18:22 -05:00
Evan Almloff
b921dc4eec call error handler when error occurs 2022-05-31 12:06:53 -05:00
Evan Almloff
51b87dafcc derive serde for Errors and Location, and add error handler 2022-05-31 12:03:04 -05:00
Evan Almloff
c94cf9c8e2 return an error when a expression could not be found 2022-05-31 08:29:30 -05:00
Evan Almloff
94448ea4aa handle formatting options 2022-05-30 18:32:57 -05:00
Evan Almloff
2183ecf3fb better error handling 2022-05-29 08:04:08 -05:00
Evan Almloff
29be00e9f5 add license 2022-05-28 14:32:49 -05:00
Evan Almloff
eb270ef062 update component on submitting 2022-05-28 12:52:49 -05:00
Evan Almloff
195dd22206 don't compile dioxus-router unless the router feature is enabled 2022-05-28 12:11:47 -05:00
Evan Almloff
c1072aa95a handle positional_args 2022-05-28 12:11:22 -05:00
Evan Almloff
06390b9be5 allow rsx to be used outside of a proc_macro context 2022-05-28 12:10:32 -05:00
Evan Almloff
4b1ea5879d Merge https://github.com/DioxusLabs/dioxus into jk/rsx-refactor 2022-05-27 18:26:31 -05:00
Demonthos
6ab79a11c0
Merge branch 'DioxusLabs:master' into master 2022-05-27 18:24:47 -05:00
Evan Almloff
04807a1ef7 update with AttributeValue 2022-05-27 18:18:40 -05:00