Where did useContextSelectors go? #24250
-
Hi, can I ask why did yo remove support for useContextSelectors? We use it heavily in our codebase. We were using some pretty old version of this library (0.51.7), and after update to the latest version, this hook is gone. For us it was really useful since we often select many attributes from the context, and I'm afraid multiple calls to |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Do you mean a hook from In Fluent UI N* codebase it lives now under
|
Beta Was this translation helpful? Give feedback.
Do you mean a hook from
@fluentui/react-context-selector
?In Fluent UI N* codebase it lives now under
@fluentui/react-bindings
. For Fluent UI v9 we decided to remove it by multiple reasons.useContextSelector
), but there is a zero chance that we will get useContextSelectors. So in future will not have a change to replace it with first party implementation if we would keep it for v9.