Commit Graph

215 Commits

Author SHA1 Message Date
Greg Johnston a898d3f2f7 beta2 release 2024-08-14 20:13:14 -04:00
Saber Haj Rabiee db1c15f4e4
fix: fix `web-sys` warnings in `server_fn` (#2828)
* fix: fix web-sys warnings in server_fn

* fix: update web-sys to 0.3.70

* fix: web-sys clipboard api in 0.3.70
2024-08-13 15:46:34 -07:00
Saber Haj Rabiee e01dfbf497
fix: update to wasm-bindgen 0.2.93 (#2827) 2024-08-13 15:21:57 -07:00
mahmoud-eltahawy 20af4928b2
chore: use workspace edition for examples and crates (#2816) 2024-08-12 19:25:47 -04:00
Saber Haj Rabiee b3e2040ec9
chore: upgrade dependencies (#2765) 2024-08-10 20:01:41 -04:00
Greg Johnston 605e4b1eec chore: update examples and doctests 2024-08-02 09:07:23 -04:00
Greg Johnston 71ca02a432 chore: clippy 2024-08-01 22:25:16 -04:00
Greg Johnston ab3e94dafa chore: clippy 2024-08-01 19:43:09 -04:00
Greg Johnston 25bfc27544 fix: set `<Title/>` text and formatter in context during client-side rendering (closes #2715) 2024-08-01 19:43:09 -04:00
Greg Johnston 54401c6f69 beta version 2024-08-01 19:43:09 -04:00
Greg Johnston 6a705e2a21 chore: clippy 2024-08-01 19:43:09 -04:00
Greg Johnston 8635887ca7 feat: optional branch-marking in HTML to support initial work on client-side islands routing 2024-08-01 19:42:51 -04:00
Greg Johnston ccf6703274 chore: clippy and clean up unused functions 2024-08-01 19:42:50 -04:00
Greg Johnston 504c958001 docs: update syntax for Html/Body 2024-08-01 19:42:50 -04:00
Greg Johnston f7b16b726b feat: correct HTML rendering for spread attributes on <Body/> and <Html/> 2024-08-01 19:42:50 -04:00
Greg Johnston e9c7b50dfd feat: attributes on body and html 2024-08-01 19:42:50 -04:00
Greg Johnston 208ab97867 feat: move to a channel-based implementation for meta 2024-08-01 19:42:50 -04:00
Greg Johnston 44eae4c2ed `0.7.0-alpha` 2024-08-01 19:42:50 -04:00
Greg Johnston 165a593b32 cargo fmt 2024-08-01 19:42:49 -04:00
brofrain d2ee093132 fix: update HtmlViewState & BodyViewState as well 2024-08-01 19:42:49 -04:00
Kajetan Welc 83e0438527 fix: do not accidentally mount things before meta tags in the <head> when updating the DOM v2 2024-08-01 19:42:49 -04:00
Greg Johnston 70655b57b1 fix: do not accidentally mount things before meta tags in the <head> when updating the DOM 2024-08-01 19:42:49 -04:00
Greg Johnston 10230d6d65 remove most remaining marker/placeholder elements 2024-08-01 19:42:21 -04:00
Greg Johnston 0d867ba016 fix: correctly escape text nodes, except in script/style tags 2024-08-01 19:42:21 -04:00
Greg Johnston 4ead16e5d3 unused 2024-08-01 19:42:21 -04:00
Greg Johnston 32f77cc42b refactor insert_before_this to find parent lazily, and use it for rebuilding reactive components by replacing their whole contents 2024-08-01 19:42:21 -04:00
Greg Johnston 36272a0b1b Revert "fix: constrain reactive rendering to Fn(), because using dry_resolve() for Suspense requires idempotent render functions so that they can be called once (to register resources) and called a second time to resolve"
This reverts commit 7ec5c77ba3e8f45bae04a7661a56741f95125adb.
2024-08-01 19:42:20 -04:00
Greg Johnston e0f98dc0fd fix: constrain reactive rendering to Fn(), because using dry_resolve() for Suspense requires idempotent render functions so that they can be called once (to register resources) and called a second time to resolve 2024-08-01 19:42:20 -04:00
Greg Johnston f9eb562050 warn if trying to use meta on server side without context 2024-08-01 19:41:55 -04:00
Greg Johnston 6dfea0b0a2 additional warnings 2024-08-01 19:41:12 -04:00
Greg Johnston 9666c9c0c5 chore: clear up... a few warnings 2024-08-01 19:41:12 -04:00
Greg Johnston 85d29a5af5 feat: support *either* .await or reactive reads inside Suspense 2024-08-01 19:41:11 -04:00
Greg Johnston 2925db8676 fix Script children 2024-08-01 19:41:11 -04:00
Greg Johnston b881167b8f fix meta issue with attributes 2024-08-01 19:40:57 -04:00
Greg Johnston b24eaedfe9 reorganizing exports and updating examples 2024-08-01 19:40:56 -04:00
Greg Johnston 0beef3b2e0 prep for preview release 2024-08-01 19:40:56 -04:00
Greg Johnston 2470637b0b SSR optimizations for binary size, and flat router 2024-08-01 19:40:25 -04:00
Greg Johnston 2934c295b5 work on Axum integration and on error boundaries 2024-08-01 19:40:25 -04:00
Greg Johnston 789eef914d stash 2024-08-01 19:40:25 -04:00
Greg Johnston 13da1e743d remove TryCatch/fallible rendering in favor of better ErrorBoundary model 2024-08-01 19:40:25 -04:00
Greg Johnston 851e1f73fd get types working with nested ErrorBoundary/Suspense 2024-08-01 19:40:25 -04:00
Greg Johnston e11eea1af1 probably as far as I can go with the current SuspenseBoundary approach 2024-08-01 19:40:25 -04:00
Greg Johnston add3be0ff5 Suspense SSR 2024-08-01 19:40:25 -04:00
Greg Johnston a01640cafd updates toward `todo_app_sqlite` 2024-08-01 19:40:25 -04:00
Greg Johnston b41fde3ff9 work related to 0.7 blog port 2024-08-01 19:40:24 -04:00
Greg Johnston 2fefc8b4bf completing work on meta 2024-08-01 19:40:24 -04:00
Greg Johnston 72b43d1e2b initial work on meta 2024-08-01 19:40:24 -04:00
Greg Johnston 39607adc94 initial work on meta 2024-08-01 19:40:24 -04:00
Greg Johnston 8848eb8b87 `0.6.13` 2024-07-24 08:00:11 -04:00
Oleg Shatov b3db094618
chore: remove `cfg`-related warnings (#2654) 2024-07-03 06:49:32 -04:00