Skip to content

Commit

Permalink
style(react-combobox): turn off react-compiler lints for non complian…
Browse files Browse the repository at this point in the history
…t code (microsoft#31795)
  • Loading branch information
Hotell authored Jun 24, 2024
1 parent cec654f commit 9f13dee
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "style: turn off react-compiler lints for non compliant code",
"packageName": "@fluentui/react-combobox",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ const UNSAFE_noLongerUsed = {
* @param ref - reference to root HTMLElement of Listbox
*/
export const useListbox_unstable = (props: ListboxProps, ref: React.Ref<HTMLElement>): ListboxState => {
'use no memo';

const { multiselect } = props;
const optionCollection = useOptionCollection();

Expand Down

0 comments on commit 9f13dee

Please sign in to comment.