Commit graph

175 commits

Author SHA1 Message Date
Leonard
2d1234c3d1
Include README and Dioxus logo in package docs (#1536)
* Include README in docs.rs and add Dioxus logo

* Update README.md
2023-10-10 10:52:48 -05:00
Jonathan Kelley
9c300ff266
Merge pull request #1324 from ealmloff/bool-attrs-ssr
Fix boolean attribute rendering in SSR
2023-09-16 12:01:52 -07:00
marc2332
7f8c963cd9
fix: Update doc links from v3 to v4 2023-09-16 19:03:27 +02: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
c55c17cb81 switch to tracing for logging 2023-09-06 17:47:33 -05:00
Jay Graves
392c744ad1
Make incremental a cfg feature. (#1409)
* Make incremental a cfg feature.

* Make the incremental feature default.
2023-09-01 09:55:44 -05:00
Jani Mustonen
31f8bab20d
Add ScopeId::ROOT (#1398)
* add ScopeId::ROOT

* replace ScopeId(0) with ScopeId::ROOT

---------

Co-authored-by: Jani Mustonen <jani.mustonen@taitounited.fi>
2023-08-25 08:31:23 -05:00
Evan Almloff
25f02904e9 make clippy happy 2023-08-08 11:39:36 -07:00
Evan Almloff
e43bdd815f fix test failures 2023-08-08 11:27:29 -07:00
Evan Almloff
aaded7981f fix boolean attribute rendering in SSR 2023-08-08 10:56:41 -07:00
Jonathan Kelley
39e89c1fac
Bump crate versions, fix any publish errors 2023-07-31 18:49:54 -07:00
Jonathan Kelley
f704d81519
Merge pull request #1253 from Demonthos/fix-map-route
Fix finding files with a custom map_path
2023-07-31 17:28:03 -07:00
Evan Almloff
2d51a1c4f2 make more of core private 2023-07-26 16:17:48 -07:00
Evan Almloff
715289c3de fix finding files with a custom map_path 2023-07-26 11:16:31 -07:00
Jonathan Kelley
3af0355196
Merge pull request #1199 from Demonthos/use-server-function
Use server function hook
2023-07-20 12:49:47 -07:00
Jonathan Kelley
91d4207fa7
Merge branch 'master' into feature/use-shared-state-better-diagnostics 2023-07-20 10:51:10 -07:00
Andrea Frigido
dccad58f1d Update license field following SPDX 2.1 license expression standard 2023-07-20 18:00:07 +01:00
Evan Almloff
dd5d974aeb fix suspense 2023-07-17 16:48:54 -07:00
Evan Almloff
7453486448 fix formatting 2023-07-17 15:12:57 -07:00
Evan Almloff
d885846589 refactor incremental rendering 2023-07-14 14:53:03 -07:00
Evan Almloff
5896dfab1a fix clippy 2023-07-14 12:51:20 -07:00
Evan Almloff
35a3880b88 allow mapping paths in the incremental renderer 2023-07-14 10:36:48 -07:00
niedzwiedzw
f159779af4 make thiserror a workspace dependency everywhere else 2023-07-11 22:54:24 +02:00
ealmloff
39ec5f498c
Merge branch 'master' into router-typesafe 2023-07-10 19:16:39 -05:00
Marc Espín
32d4472bfd
fix: Remove duplicated doc links and improved some descriptions (#1167) 2023-07-08 11:04:27 -05:00
Evan Almloff
f0d1346652 remove unsafe from fullstack and ssr 2023-07-07 19:15:25 -07:00
Evan Almloff
576bc61855 fix playwrite tests 2023-07-07 19:03:25 -07:00
Evan Almloff
4f6e6a7c0d add extractors to server-fn 2023-07-06 17:54:05 -07:00
Evan Almloff
f5c60eeb4c make fullstack helpers compatable with prerendering 2023-06-28 18:48:42 -07:00
Evan Almloff
7b1f0c9412 Merge branch 'master' into router-typesafe 2023-06-28 08:56:07 -07:00
Evan Almloff
9ce16716ca make clippy happy 2023-06-24 13:46:08 -07:00
Evan Almloff
a165e13564 add cache headers 2023-06-24 13:21:12 -07:00
Evan Almloff
1704ee0068 router/fullstack/ssr intigration 2023-06-22 16:51:48 -07:00
Evan Almloff
5f873511c5 use workspace dependancies 2023-06-19 14:29:11 -05:00
Evan Almloff
579da12ab6 Merge branch 'upstream' into server-fn 2023-05-02 11:05:38 -05:00
Evan Almloff
7193453fe0 Merge branch 'upstream' into server-fn 2023-04-13 08:09:27 -05:00
Evan Almloff
6afd764aa4 Merge branch 'upstream' into fix-ssr-raw-attributes 2023-04-12 09:11:25 -05:00
Evan Almloff
fe75138e42 fix dangerous_inner_html with SSR 2023-04-07 09:35:32 -05:00
Evan Almloff
e1bb6cc750 Merge branch 'upstream' into server-fn 2023-04-02 07:11:07 -05:00
Evan Almloff
bfcb0f6eab add an example illistrating intigration with the router 2023-03-31 15:33:44 -05:00
Evan Almloff
468f684d7d fix style attributes in SSR 2023-03-22 10:10:18 -05:00
Evan Almloff
96397f08d0 fix int and float raw values in ssr 2023-03-22 08:43:58 -05:00
Evan Almloff
a51f67c2ec add version to docs links in readmes 2023-02-18 18:38:30 -06:00
Jon Kelley
7d37dc39d5
Merge pull request #829 from Demonthos/fix-pre-tag-ssr 2023-02-14 11:36:02 -08:00
Evan Almloff
4bf655851b fix pre tag typo 2023-02-14 09:56:39 -06:00
Evan Almloff
c84003de98 update tests to escape text 2023-02-14 09:06:59 -06:00
Evan Almloff
c9f9b8b0fa escape text in ssr 2023-02-14 08:44:01 -06:00
Evan Almloff
b6c7d44a27 fix clippy 2023-01-27 20:35:46 -06:00
Evan Almloff
52d5c8d4e7 update READMEs and tags for the 0.3 release 2023-01-10 10:16:11 -06:00
Jonathan Kelley
7f01f61138 feat: publish 0.3 versions of many crates 2023-01-04 14:31:07 -05:00