Background
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.
Background
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.