Skip to content
Permalink
Browse files

fix: always rerender when props change

  • Loading branch information...
danhayden committed Sep 4, 2017
1 parent 77cc097 commit 9ade17980af08231665bba01fc2e14ff05661278
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/react-simple-experiment.js
@@ -64,7 +64,7 @@ export class Experiment extends React.Component {
}

shouldComponentUpdate (nextProps, nextState) {
return nextState.variant !== this.state.variant
return true
}

render () {

0 comments on commit 9ade179

Please sign in to comment.
You can’t perform that action at this time.