diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2020-04-05 16:00:49 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2020-04-05 16:00:49 -0400 |
commit | 29640eadc13bf4dc05c128333e0060f58ace37e1 (patch) | |
tree | 9828dd6d6e8aa034bf4ab47294cc4fc88992fdd9 /src/client/views/nodes/DocumentContentsView.tsx | |
parent | 48478855cc28aa423b2d1e482bd181c8c5066da6 (diff) |
debugging
Diffstat (limited to 'src/client/views/nodes/DocumentContentsView.tsx')
-rw-r--r-- | src/client/views/nodes/DocumentContentsView.tsx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/client/views/nodes/DocumentContentsView.tsx b/src/client/views/nodes/DocumentContentsView.tsx index dc71ba280..4b6729fe7 100644 --- a/src/client/views/nodes/DocumentContentsView.tsx +++ b/src/client/views/nodes/DocumentContentsView.tsx @@ -63,6 +63,16 @@ export class DocumentContentsView extends React.Component<DocumentViewProps & { hideOnLeave?: boolean, makeLink?: () => Opt<Doc>, // function to call when a link is made }> { + constructor(props: any) { + super(props); + console.log("Consructr" + this.props.Document.title); + } + componentWillUpdate() { + console.log("WillUpdate" + this.props.Document.title); + } + componentWillReceiveProps() { + console.log("Receive" + this.props.Document.title); + } @computed get layout(): string { TraceMobx(); if (!this.layoutDoc) return "<p>awaiting layout</p>"; |