Jelajahi Sumber

modify comment

utsushiiro 7 tahun lalu
induk
melakukan
819508d9c2

+ 1 - 1
src/client/js/components/PageEditor/HandsontableModal.jsx

@@ -39,7 +39,7 @@ export default class HandsontableModal extends React.Component {
           /*
            * AfterUpdateSettings hook is called when this component state changes.
            *
-           * In detail, when this component state changes, React will re-render HotTable because it is a child component of this component.
+           * In detail, when this component state changes, React will re-render HotTable because it is passed some state values of this component.
            * HotTable#shouldComponentUpdate is called in this process and it call the updateSettings method for the Handsontable instance.
            * So, this hook is always called when this component state changes.
            */