nl_tokens: Call this . constructor . gDSFP to support sub - classes . Use the setState () updater to ensure state isn t stale in certain edge cases .
pl_tokens: function updater ( prevState ) { var state = this . constructor . getDerivedStateFromProps ( nextProps , prevState ) ; return state !== null && state !== undefined ? <mask> : null ; }