Evan Almloff
245003a5d4
Create a Static Site Generation platform; Deduplicate hot reloading code ( #2226 )
...
* create static site generation helpers in the router crate
* work on integrating static site generation into fullstack
* move ssg into a separate crate
* integrate ssg with the launch builder
* simplify ssg example
* fix static_routes for child routes
* move CLI hot reloading websocket code into dioxus-hot-reload
* fix some unused imports
* use the same hot reloading websocket code for fullstack
* fix fullstack hot reloading
* move cli hot reloading logic into the hot reload crate
* ssg example working with dx serve
* add more examples
* fix clippy
* fix formatting
* fix hot reload doctest imports
* fix axum imports
* don't run server doc tests
* Fix hot reload websocket doc examples
2024-05-22 07:24:15 -05:00
Evan Almloff
4d25e3f6a2
fix hydration for non-bubbling events ( #2234 )
2024-04-04 11:46:22 -07:00
Evan Almloff
947b23bda5
fix rendering aborted nodes in SSR ( #2218 )
2024-04-02 10:51:48 -07:00
Evan Almloff
6a781af693
Fix hydration for static text nodes at the root of the template ( #2184 )
...
* Fix hydration for static text nodes at the root of the template
* fix clippy
2024-03-29 18:22:55 -07:00
Evan Almloff
dadbab5d72
make some enums non-exhaustive ( #2140 )
2024-03-26 19:14:48 -07:00
Evan Almloff
c4a4a31eec
Merge branch 'master' into pr/atty303/1948
2024-02-19 08:35:31 -06:00
Evan Almloff
6724847685
swap out web-time for chrono
2024-02-19 08:03:29 -06:00
Koji AGAWA
1f0e03ca19
feat(fullstack): support wasm target
2024-02-17 05:12:33 +09:00
Jonathan Kelley
d1d70995c4
Remove eval from incremental
2024-02-14 16:51:05 -08:00
Jonathan Kelley
22a5acfcb8
Remove SSR evalulator
2024-02-14 16:38:05 -08:00
Jonathan Kelley
cbadea022a
Eval should never return an error
...
Only awaiting eval should error.
Eval should always be available, even if using its methods returns errors.
2024-02-14 15:13:15 -08:00
Jonathan Kelley
4a7fe938ad
Make clippy happy
2024-02-04 23:03:52 -08:00
Evan Almloff
a789d6a64e
make eval copy
2024-02-02 14:47:59 -06:00
Jonathan Kelley
a72c035de4
Fix cargo check on examples
2024-01-30 17:59:57 -08:00
Evan Almloff
a323962a22
fix the fullstack platform with the new launch API
2024-01-18 10:19:39 -06:00
Evan Almloff
25ad3da659
remove some generics from LaunchBuilder
2024-01-17 20:15:16 -06:00
Evan Almloff
ae3e167cfe
make fullstack hello world compile
2024-01-17 16:58:03 -06:00
Evan Almloff
e65c5f0eb3
depreciate the render macro
2024-01-16 13:18:46 -06:00
Evan Almloff
940108f242
fix hydration
2024-01-15 13:23:35 -06:00
Evan Almloff
16d5d00bdf
fix ssr tests
2024-01-15 11:12:24 -06:00
Evan Almloff
b039d6acc0
fix remaining core tests
2024-01-15 11:06:27 -06:00
Jonathan Kelley
fae0b08e61
Fix the router and stub out a number of crates to get compiling
2024-01-13 20:51:37 -08:00
Jonathan Kelley
2ae3241cc0
Merge branch 'master' into jk/breaking-merged
2024-01-11 16:04:36 -08:00
Jonathan Kelley
d9b84f9f8f
Disambiguate expressions in rsx by requiring curlies
2024-01-10 19:33:34 -08:00
Evan Almloff
4a1a00b0f0
fix dioxus ssr
2024-01-10 17:57:15 -06:00
Evan Almloff
5b2b0c43bd
work on fixing ssr
2024-01-10 09:56:03 -06:00
Evan Almloff
e5df83ceec
Merge branch 'master' into pr/atty303/1349
2024-01-06 08:52:37 -06:00
Jonathan Kelley
1a8bf13ff5
Merge branch 'master' into resilient-hydration
2024-01-04 10:28:41 -08:00
Jonathan Kelley
8df7a7685e
Merge branch 'master' into many_optional_attributes
2024-01-04 10:18:57 -08:00
ealmloff
43d9fe1ab0
Clear the cache on rebuild in the incremental renderer ( #1741 )
2024-01-03 14:02:21 -06:00
abhi and Evan Almloff
fd7c9e0359
fix empty render causing panic ( #1769 ) ( #1774 )
...
* fix empty render causing panic (#1769 )
* use an default root column instead of an empty root column
* fix formatting
* restore create.rs in core
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com >
2024-01-02 10:02:58 -06:00
Evan Almloff
0a7873fcd0
merge upstream
2023-12-30 14:12:21 -06:00
Evan Almloff
e2646e655e
fix hydration after suspense
2023-12-27 10:17:18 -06:00
Evan Almloff
2d7d721fd6
make hydration more resilient using ids to hydrate
2023-12-19 16:02:07 -06:00
Evan Almloff
b9554fd744
add a noop evaluator to the ssr renderer
2023-11-05 08:32:39 -06:00
Evan Almloff
77d53df532
Merge branch 'master' into pr/atty303/1349
2023-10-31 13:39:20 -05:00
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
Evan Almloff
9e167dfdb7
Merge branch 'many_optional_attributes' into pr/atty303/1349
2023-09-22 09:32:05 -05:00
Evan Almloff
7033276c34
Merge branch 'master' into pr/atty303/1349
2023-09-20 16:19:23 -05:00
Evan Almloff
fc8c25280a
allow many attributes to be attached to one element
2023-09-20 16:02:04 -05:00
Evan Almloff
610401b928
fix repeated class in ssr test
2023-09-19 10:23:36 -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
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 and 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
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