Commit graph

46 commits

Author SHA1 Message Date
Evan Almloff
b9554fd744 add a noop evaluator to the ssr renderer 2023-11-05 08:32:39 -06: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
bdaa284c14 fix formatting 2023-09-12 09:12:32 -05:00
Evan Almloff
6e74d08bf5 remove log from a few examples 2023-09-11 19:42:08 -05:00
Evan Almloff
c55c17cb81 switch to tracing for logging 2023-09-06 17:47:33 -05:00
Evan Almloff
cabeacfcee fix formatting 2023-07-28 13:04:56 -07:00
Evan Almloff
9f891f9478 switch to launch builder instead of macro for fullstack 2023-07-28 12:58:34 -07:00
Jonathan Kelley
5e3451a6f2
Quiet cargo warnings 2023-07-26 21:02:39 -07:00
Evan Almloff
c19420cb29 fix root component suspense 2023-07-25 12:51:12 -07:00
ealmloff
d637ef187c
fix all broken examples (#1248) 2023-07-25 14:30:08 -05:00
Evan Almloff
61dc549ba1 Make new enum router less breaking 2023-07-24 11:57:56 -07:00
Evan Almloff
f55375b8ce simplify fullstack hello world examples 2023-07-19 16:57:43 -07:00
Evan Almloff
7e2ef1260f Merge branch 'master' into use-server-function 2023-07-19 14:19:03 -07:00
Evan Almloff
8e54a89a74 fix use_server_future 2023-07-17 17:23:15 -07:00
Evan Almloff
4ab30c9e76 remove cargo cache 2023-07-17 16:50:30 -07:00
Evan Almloff
dd5d974aeb fix suspense 2023-07-17 16:48:54 -07:00
Evan Almloff
de72d85391 create server_cached function 2023-07-14 17:23:12 -07:00
Evan Almloff
128f3e4425 fix nested routers 2023-07-13 19:29:43 -07:00
Evan Almloff
c6ddee6f21 remove the extract macro 2023-07-12 16:20:44 -06:00
Evan Almloff
831bcfd8e7 Fix warp fullstack adapter 2023-07-10 19:14:13 -05:00
Evan Almloff
0e83d48c04 Fix salvo fullstack builds 2023-07-10 18:48:55 -05:00
Evan Almloff
7c2bf4c5ed fix formatting 2023-07-08 10:56:10 -07:00
Evan Almloff
fd98b51dfe fix auth example 2023-07-08 10:42:15 -07:00
Evan Almloff
27b0c2683b create auth example 2023-07-08 10:37:28 -07:00
Evan Almloff
576bc61855 fix playwrite tests 2023-07-07 19:03:25 -07:00
Evan Almloff
41f9c480c8 remove old references to server context 2023-07-07 18:39:18 -07:00
Evan Almloff
14883bb711 add server function middleware 2023-07-07 18:25:45 -07:00
Evan Almloff
c49c75cb60 remove props compression 2023-07-07 11:08:27 -07:00
Evan Almloff
7597068af6 integrate extractors with the macro 2023-07-07 11:03:59 -07:00
Evan Almloff
4f6e6a7c0d add extractors to server-fn 2023-07-06 17:54:05 -07:00
Evan Almloff
e883e8d0dd fix static generation example compiling 2023-07-06 11:24:52 -07:00
Evan Almloff
b7ea3580c2 add static generation hydrated example 2023-07-06 10:52:09 -07:00
Evan Almloff
040055ba9d compress assets by default in the launch macro 2023-06-30 19:22:43 -07:00
Evan Almloff
a7f7aad947 fix errors for nested routes 2023-06-28 11:27:11 -07:00
Evan Almloff
7b1f0c9412 Merge branch 'master' into router-typesafe 2023-06-28 08:56:07 -07:00
Evan Almloff
a165e13564 add cache headers 2023-06-24 13:21:12 -07:00
Evan Almloff
b8806b0854 remove brackets around address 2023-06-23 18:56:20 -07:00
Evan Almloff
99674fcf94 create server launch macro 2023-06-23 18:23:03 -07:00
Evan Almloff
1704ee0068 router/fullstack/ssr intigration 2023-06-22 16:51:48 -07:00
Evan Almloff
495fd22bfd Merge branch 'master' into router-typesafe 2023-06-22 12:52:11 -07:00
Evan Almloff
158852e5a0 make regestering server functions optional 2023-06-19 16:08:46 -05:00
Evan Almloff
07446386e6 fix external router examples 2023-06-01 14:10:33 -05:00
Evan Almloff
4a8542c28e fix response spelling 2023-05-11 18:40:02 -05:00
Evan Almloff
40d30bb434 fix fullstack desktop example 2023-05-04 11:44:32 -05:00
Evan Almloff
fb6757484d pull out serve static assets methods 2023-05-02 11:05:21 -05:00
Evan Almloff
e6c540320e rename package to dioxus-fullstack 2023-05-02 10:15:34 -05:00