Make RouteScopeOwner for PreserveOnRefresh more discoverable

オープン
#4,157 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1〜3時間
初心者へのやさしさ
48/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
停滞
領域
documentation

調査の方向性

https://vaadin.com/docs/latest/flow/advanced/preserving-state-on-refresh の「Preserving state on refresh」記事から始め、次に https://vaadin.com/docs/latest/flow/integrations/spring/scopes#routescope.preserve にあるリンク先の RouteScope ドキュメントと、その CDI 相当のドキュメントを確認します。AtUIScoped Bean ではそうならない場合に、AtRouteScope、AtRouteScopeOwner、AtPreserveOnRefresh がどのように連携するのかを、状態の更新時保持に関するページが人間にわかりやすい言葉で説明していれば完了です。

索引モデルが issue の本文から書いたものです。

説明

flow

Tell us about your request

I've heard few concerns about AtPreserveOnRefresh not working, when coupled with AtUIScoped beans.
Indeed this combo doesn't work because of architectural limitations, however, you can make this case work with using AtRouteScope + AtRouteScopeOwner + AtPreserveOnRefresh as documented here https://vaadin.com/docs/latest/flow/integrations/spring/scopes#routescope.preserve (same article is in CDI integration).

So the quick improvement is to describe in a human way this possibility in https://vaadin.com/docs/latest/flow/advanced/preserving-state-on-refresh. We may think of another better API, but that's another story.


If you think this issue is important, add a 👍 reaction to help the community and maintainers prioritize this issue.

主要言語
AsciiDoc
スター
38
フォーク
225
平均マージ
17時間 38分
マージ済み PR(30日)
214

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

vaadin/docs のほかの issue

vaadin/docs の issue をすべて見る

似ている issue

Documentation の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。