ritscc / Snack

Snack - RCC Internal Messenger Application
7 stars 2 forks source link

DynamicRenderingとSSRを使い分けることでパフォーマンスを上げる #92

Open 1uf3 opened 11 months ago

1uf3 commented 11 months ago

UsersやChannelsなどのデータを組み込むコンポーネントだけDynamicにして,後ろの画面を分けているところ(適切な言葉がわからない)はSSRにしたらパフォーマンスがあがりそう

Originally posted by @1uf3 in https://github.com/ritscc/Snack/pull/86#pullrequestreview-1667050335

1uf3 commented 11 months ago

こんな感じ

image
1uf3 commented 11 months ago

Discordのメッセージデータの取得まではまるでデータがあるようなUIっぽい しかも、Channelを切り替えてみるとランダムなUI並びになってそう

image
rintaro29 commented 10 months ago

メッセージ取得するまで表示するやつはスケルトンローディングってやつでイケルっぽいです