Add comment about refs to functional components

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-04-09 08:03:10 +02:00
parent 4a40f67e75
commit 90f9d20f45
No known key found for this signature in database
GPG Key ID: 9760693FDD98A790
1 changed files with 1 additions and 0 deletions

View File

@ -83,6 +83,7 @@ export default class ImageView extends React.Component<IProps, IState> {
}; };
} }
// XXX: Refs to functional components
private contextMenuButton = createRef<any>(); private contextMenuButton = createRef<any>();
private focusLock = createRef<any>(); private focusLock = createRef<any>();