Brian Donovan
8f93ff3747
docs(hooks): fix typos ( #1299 )
...
I'm not totally sure how the sentence was supposed to read, but removing "state" from "It state" seemed to work. Also, "it's" is "it is" and not possessive, so I fixed that.
2023-08-04 15:13:02 -05:00
Brian Donovan
6d154b5072
Minor Proxy Improvements ( #1289 )
...
* fix(serve): provide a clear error with pathless proxy URLs
Without this, `dx serve` panics with this message:
```
Paths must start with a `/`. Use "/" for
root routes
```
That's not very clear. Instead, we can detect this situation and provide a better error message:
```
Error: 🚫 Serving project failed: Failed to establish proxy: Proxy backend URL must have a non-empty path, e.g. http://localhost:8080/api instead of http://localhost:8080
```
* docs(config): correct format for `web.proxy`
2023-08-04 13:44:56 -05:00
Brian Donovan
50230b6f71
build(web): fix default-features
warning ( #1296 )
...
`cargo build` would print this warning:
```
warning: dioxus/packages/web/Cargo.toml: `default-features` is ignored for dioxus-html, since `default-features` was not specified for `workspace.dependencies.dioxus-html`, this could become a hard error in the future
```
Since it's being ignored anyway and that doesn't seem to be causing problems, I figured I'd remove it and get rid of the warning.
2023-08-04 12:51:17 -05:00
Brian Donovan
ab1d64bc4a
docs(cli): fix typo ( #1294 )
...
"tripple" should be "triple".
2023-08-04 12:49:31 -05:00
Brian Donovan
e98e773186
doc: fix typo ( #1287 )
2023-08-03 16:32:14 -05:00
Jonathan Kelley
88cca9c949
Merge pull request #1285 from Demonthos/flexable-server-function-features
...
Make server function features flexible
2023-08-03 12:16:32 -07:00
Evan Almloff
d33ea087d0
make server function features flexible
2023-08-03 11:13:43 -07:00
Evan Almloff
97eedd22c5
fix fullstack docs building
2023-08-03 10:45:50 -07:00
Christian Albrecht
c9790860a5
fixed "http_equiv" in meta to generate "http-equiv" instead of "http_equiv" ( #1277 )
2023-08-02 11:25:41 -05: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
Jonathan Kelley
fe1ce3bbe7
Merge pull request #1273 from Demonthos/dedup-history
...
Deduplicate route history
2023-08-01 10:35:20 -07:00
Jonathan Kelley
25a2abfa08
Merge pull request #1274 from Demonthos/fix-navigator
...
Fix navigator push/replace route
2023-08-01 10:35:01 -07:00
ealmloff
0c093964bc
Merge branch 'DioxusLabs:master' into dedup-history
2023-08-01 12:32:46 -05:00
ealmloff
61ce3dd6b7
Reject all external routes when parsing a route ( #1272 )
...
* reject all external routes when parsing a route
* fix children routers
2023-08-01 12:29:35 -05:00
Evan Almloff
4062e232d9
fix navigator
2023-08-01 10:21:16 -07:00
Evan Almloff
98de423d99
deduplicate route history
2023-08-01 10:16:19 -07:00
Jonathan Kelley
39e89c1fac
Bump crate versions, fix any publish errors
2023-07-31 18:49:54 -07:00
Jonathan Kelley
f80c3c9ffb
Bump core and interpreter
2023-07-31 18:02:23 -07:00
Jonathan Kelley
8a875acdd2
Adjust versions, add authors, move server macro to top level
2023-07-31 17:59:36 -07:00
Jonathan Kelley
09cce6bdfb
Merge pull request #1270 from Demonthos/add-authors
...
Add authors to all crates
2023-07-31 17:38:44 -07:00
Jonathan Kelley
456b553c93
Merge pull request #1230 from Demonthos/add-computed
...
Add computed hook
2023-07-31 17:37:47 -07:00
Jonathan Kelley
59016007f2
Merge pull request #1251 from DioxusLabs/make-ssr-state-public
...
Make SsrState public
2023-07-31 17:37:35 -07:00
Evan Almloff
3eab363e51
Add authors to all crates
2023-07-31 17:30:18 -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
Jonathan Kelley
8cf59fe52e
Merge pull request #1265 from Demonthos/dioxus-web-features
...
Create default enabled features for large web events
2023-07-31 17:14:07 -07:00
Jonathan Kelley
e1dcc335c0
Merge pull request #1263 from Demonthos/builder-launch-fullstack
...
Switch to launch builder instead of macro for fullstack
2023-07-31 11:44:36 -07:00
Evan Almloff
45d386810b
create features for large web-sys events/types
2023-07-28 15:38:07 -07:00
Evan Almloff
d7f7116ce3
clean up the API a bit
2023-07-28 14:17:52 -07:00
Evan Almloff
fcb993a2cb
don't spawn a new runtime every request
2023-07-28 13:14:26 -07: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
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
Jonathan Kelley
5e3451a6f2
Quiet cargo warnings
2023-07-26 21:02:39 -07:00
Jonathan Kelley
694fc22acb
Merge pull request #1255 from Demonthos/core-private
...
Make more of core private
2023-07-26 18:31:29 -07:00
Jonathan Kelley
418c03e2cd
Merge pull request #1252 from Demonthos/non-generic-link
...
Remove autogenerated functions/components from the routable macro
2023-07-26 18:11:32 -07:00
Jonathan Kelley
4b96b00591
Merge pull request #1254 from Demonthos/add-bundle-command
...
Create cli bundle command
2023-07-26 16:54:59 -07:00
Evan Almloff
20296b5038
fix some examples that used the private API
2023-07-26 16:50:04 -07:00
Evan Almloff
2d51a1c4f2
make more of core private
2023-07-26 16:17:48 -07:00
Evan Almloff
7bf0926938
use tauri bundle 1.2
2023-07-26 12:53:00 -07:00
Evan Almloff
489338d642
create cli bundle command
2023-07-26 12:40:50 -07:00
Evan Almloff
d2ec27e761
fix clippy
2023-07-26 11:29:34 -07:00
Evan Almloff
715289c3de
fix finding files with a custom map_path
2023-07-26 11:16:31 -07:00
Evan Almloff
cc94711d62
rename generic navigator to navigator
2023-07-26 11:09:40 -07:00
Evan Almloff
947a153347
make navigator non-generic
2023-07-26 11:08:45 -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
a4ed9bc0ef
make ssrstate public
2023-07-25 15:29:40 -07:00
Evan Almloff
c19420cb29
fix root component suspense
2023-07-25 12:51:12 -07:00