Coming from #27262
Problem
These methods are anti-patterns because they are most always used for loading data into a component without using withOnyx(). This breaks the data flow of a react application. (data is coming from somewhere that is not props or state and cannot be debugged in react dev tools).
Solution
Switch all references to properly use withOnyx() for components and connect() for libs.
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~01c108d0b3568a69c3
- Upwork Job ID: 1730343269382967296
- Last Price Increase: 2023-11-30
Coming from #27262
Problem
These methods are anti-patterns because they are most always used for loading data into a component without using
withOnyx(). This breaks the data flow of a react application. (data is coming from somewhere that is not props or state and cannot be debugged in react dev tools).Solution
Switch all references to properly use
withOnyx()for components andconnect()for libs.Upwork Automation - Do Not Edit