message: memoize openMenu callback
diff: @@ -23,7 +23,8 @@ export const RowsEditor = (
  | undefined
  >(undefined)
  - function openMenu(insertIndex: number) {
  + const openMenu = React.useCallback(
  + (insertIndex: number) => {
  setMenu({
  index: insertIndex,
  onClose: pluginState => {
  @@ -31,7 +32,9 @@ export const RowsEditor = (
  setMenu(undefined)
  }
  })
  - }
  + },
  + [rows]
  + )
  return (
  <div style={{ position: 'relative', marginTop: '25px' }}>
  