question: store variable like 'this.xxx in component'
rawlinxx opened this issue · comments
class A extends Component {
constructor(props) {
super(props);
this.stateWithoutRerendering = null;
}
cacheUpdated = (new) => {
this.stateWithoutRerendering = new;
}
}
how should i do it with recompose ?
Because it’s not a bug report nor a feature request, please ask on StackOverflow.