Skip to content

log intent stamp only in debug mode

Compare
Choose a tag to compare
@jcouyang jcouyang released this 16 Nov 11:43
· 357 commits to master since this release
4393cd1
  • env NODE_ENV=debug npm test to see intent time stamp
  • time stamp include milisec
  • mergeAll([ReactClass.defaultProps, initprops, props])
const View = props => <div>hehe</div>
View.defaultProps  = {blah} // <-- 1 defaultProps
const Component = connect(blah, initprops)(View)     // <--- 2. initprops
<Component props={blah}> // <--- 3. props

piority 3>2>1