-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(refactor / frontend) 循環参照の解きほぐし #12602
Labels
Comments
(先に #12560 を倒すので着手自体は後になると思われる) |
(軽く確認してるけど、os.tsだけじゃなくて他の便利系モジュールもやらないとダメだ…) |
段階を分けてプルリクを作ります(でないと影響範囲が広すぎて死ぬ)
|
出すタイミングも、次のリリースが終わってからにしようと思います(でないと以下略) |
5 tasks
5 tasks
根本であるrouter.tsを何とかできたのでcloseします。 |
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Summary
os.tsはフロントエンド全体のユーティリティ的な立ち位置にあり、便利機能が多数実装されている。
それ故に多数のモジュールから参照されているため、循環参照の温床になってしまっている。
これを機能ジャンルごとに解きほぐし、ソースコードの整理を図りたい。
UPDATE:
account.ts、custom-emojis.tsも同列に対応しなければならない
Purpose
コードの見通しの改善などもあるが、主目的としてはHMRの改善である。
大部分のモジュールで循環参照が発生しており、それ故に一部分が書き換わるHMRが行えず全体リロードとなってしまう。これを改善し、開発体験の向上を図る。
The text was updated successfully, but these errors were encountered: