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
Selectors in useOnyx are wrapped with useLiveRef to get a stable reference even for inline selectors. This was a helpful convenience when it's added, but some things have changed:
We added a cache for useOnyx that benefits from using a shared stable reference for selectors.
After that's done, useLiveRef will contribute complexity without having any value. Furthermore, it may cause unexpected behaviors, in that useOnyx will not re-run if the selector changes unless you explicitly pass the selector as a dependency.
Solution
Remove the useLiveRef wrapper from selectors in useOnyx. We don't need it anymore.
P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!
Activity
roryabraham commentedon Sep 20, 2025
Still on HOLD
roryabraham commentedon Sep 29, 2025
Still on HOLd
roryabraham commentedon Oct 13, 2025
Still on HOLD, but getting close
39 remaining items
roryabraham commentedon Feb 9, 2026
No update
melvin-bot commentedon Mar 5, 2026
This issue has not been updated in over 15 days. @TMisiukiewicz, @roryabraham eroding to Monthly issue.
P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!
roryabraham commentedon Apr 8, 2026
no update
roryabraham commentedon May 12, 2026
wasn't able to reproduce the reported bug, closing this out