Commit Graph
31 Commits
Author SHA1 Message Date
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
Jonathan Kelley 2f1fbf3ca4 Merge pull request #1406 from DioxusLabs/fix-router-query
Fix web query segments
2023-09-16 11:55:43 -07: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
Evan Almloff 2d916ef628 fix web query segments 2023-08-30 08:21:24 -05:00
Evan Almloff e43bdd815f fix test failures 2023-08-08 11:27:29 -07:00
Evan Almloff f7eba62a5d Merge branch 'master' into update-scroll-history-lazy 2023-08-01 10:47:04 -07:00
Evan Almloff 549db35de3 update scroll history lazily when you leave a page 2023-08-01 10:45:54 -07:00
Evan Almloff 98de423d99 deduplicate route history 2023-08-01 10:16:19 -07:00
ealmloff cfd62e274e Make deprecated use router (#1260)
* make router props expansion better

* fix router data fields

* make a deprecated use_router hook
2023-07-27 10:32:23 -07:00
Evan Almloff d2ec27e761 fix clippy 2023-07-26 11:29:34 -07:00
Evan Almloff 0ebcb5f1be remove some logging 2023-07-26 10:28:49 -07:00
Evan Almloff e7a9161066 fix link component 2023-07-26 10:18:39 -07:00
Evan Almloff 5f0dd3af3e it almost lives? 2023-07-25 18:14:48 -07:00
Evan Almloff 97115f6537 fix nested nest segments 2023-07-14 12:32:46 -07:00
Evan Almloff 1dac04ba8a fix with_initial_path 2023-07-14 08:22:31 -07:00
Evan Almloff 8a142bbc95 improve index route parsing error message 2023-07-14 08:13:44 -07:00
Evan Almloff 99674fcf94 create server launch macro 2023-06-23 18:23:03 -07:00
Evan Almloff bc063c58b7 throttle history updates to 100ms 2023-06-19 12:04:06 -05:00
Evan Almloff a9307e57e6 fix CI 2023-06-02 12:33:47 -05:00
Evan Almloff 07446386e6 fix external router examples 2023-06-01 14:10:33 -05:00
Evan Almloff 2f473f7c97 make serde optional 2023-06-01 11:03:44 -05:00
Evan Almloff ece8f0fb22 general cleanup 2023-05-31 17:12:52 -05:00
Evan Almloff 09cabe4e8b update doc examples 2023-05-31 15:51:26 -05:00
Evan Almloff 58b74c1155 create redirects 2023-05-31 12:11:11 -05:00
Evan Almloff 3678fa1d3f create example 2023-05-23 19:09:24 -05:00
Evan Almloff 1f68399e7b allow extra fields in the enum not from the route 2023-05-23 13:57:50 -05:00
Evan Almloff f94dc85491 fix scroll history 2023-05-23 12:59:22 -05:00
Evan Almloff dd48c5a163 fix web history 2023-05-23 11:58:12 -05:00
Evan Almloff 7ae8403af7 update web history 2023-05-23 11:22:57 -05:00
Evan Almloff e4b8fbfafe Intigrate macro with router hooks and components 2023-05-22 16:42:32 -05:00