You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Due for payment 2025-07-01] Add an ESLint warning that Onyx.connect() is deprecated #64588
We have identified that Onyx.connect() is an anti-pattern and will be deprecated. The project to refactor and clean up those patterns has not begun yet and is slated to begin in early July.
Problem
Contributors continue to add new references to Onyx.connect() which adds more anti-patterns to our code, which will cause more work later to refactor.
Solution
Create an ESLint custom rule that will throw a WARNING for Onyx.connect() references. The warning message should direct developers on what to use instead.
changed the title [-]Add an ESLint warning that `Onyx.connect()` is deprecated[/-][+][Due for payment 2025-07-01] Add an ESLint warning that `Onyx.connect()` is deprecated[/+]on Jun 24, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.70-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
Activity
[-]Add an ESLint warning that `Onyx.connect()` is deprecated[/-][+][Due for payment 2025-07-01] Add an ESLint warning that `Onyx.connect()` is deprecated[/+]melvin-bot commentedon Jun 24, 2025
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Jun 24, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.70-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2025-07-01. 🎊
tgolen commentedon Jun 25, 2025
This can be closed and doesn't need payment.