We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3519fec commit 07ca990Copy full SHA for 07ca990
modules/MatchProvider.js
@@ -19,10 +19,8 @@ class MatchProvider extends React.Component {
19
20
constructor(props) {
21
super(props)
22
- // React doesn't support a parent calling `setState` from an descendant's
23
- // componentWillMount, so we use an instance property to track matches
24
// **IMPORTANT** we must mutate matches, never reassign, in order for
25
- // server rendering to work
+ // server rendering to work w/ the two-pass render approach for Miss
26
this.matches = []
27
this.subscribers = []
28
this.hasMatches = null // use null for initial value
0 commit comments