diff --git a/src/web/home.coffee b/src/web/home.coffee index ee8b678..58d3144 100644 --- a/src/web/home.coffee +++ b/src/web/home.coffee @@ -29,13 +29,17 @@ class Home extends React.Component className="switch-wrapper" > + { + # Use `render` instead of `component` to prevent re-rendering the child + # when parent is re-rendered (however this prevents passing match props) + } } + render={() => } /> } + render={() => } />