componentDidMount() {
socket.on('test', function(data){
this.setState({/* ....... */});
}
}.bind(this),
render() {
return (
<div>
<Dialog someval={this.state.someval} />
</div>
);
}
var blocks ={
hiddenSince: 'метка времени',
blockIds: blockIds,
}
localStorage.setItem('blocks', JSON.stringify(blocks));
"*":
editor:
showInvisibles: true