Skip to content
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

[Task] [Optimization] Optimizing Deprecated React Lifecycle #341

Closed
18 tasks done
VampireAchao opened this issue Sep 14, 2023 · 1 comment
Closed
18 tasks done

[Task] [Optimization] Optimizing Deprecated React Lifecycle #341

VampireAchao opened this issue Sep 14, 2023 · 1 comment
Assignees

Comments

@VampireAchao
Copy link
Contributor

VampireAchao commented Sep 14, 2023

Description

see:
https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html

There are so many warnings indicating that we should use the new lifecycle instead of the old one, so I think it's necessary to split it into multiple tasks and make the changes one by one.

image

Task List

  • src/routes/System/Alert/index.js
  • src/components/Authorized/PromiseRender.js
  • src/components/CountDown/index.js
  • src/components/Login/LoginTab.js
  • src/components/SideMenu/SideMenu.js
  • src/routes/Plugin/Common/Rule.js
  • src/routes/Sytem/Resources/index.js
  • src/utils/AuthRoute.js
  • src/routes/System/AppAuth/index.js
  • src/routes/System/Dict/index.js
  • src/routes/System/Metadata/index.js
  • src/routes/System/Plugin/index.js
  • src/routes/System/PluginHandle/index.js
  • src/routes/Plugin/Common/Selector.js @eurecalulu
  • src/routes/System/Role/index.js
  • src/routes/System/User/index.js
  • src/routes/System/User/DataPermModal.js
  • src/utils/AuthButton.js
@eurecalulu
Copy link
Contributor

Please assign src/routes/Plugin/Common/Rule.js and src/routes/Plugin/Common/Selector.js to me~

@VampireAchao VampireAchao changed the title [Optimization] Optimizing Deprecated React Lifecycle [Task] [Optimization] Optimizing Deprecated React Lifecycle Sep 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants