If you have parent and child with your mixin and you showing/hiding block inside child you don't have fallback to mobile or table if child's block mounted
mixins: [componentWidthMixin],
render: function () {
console.info('PARENT: ' + this.state.componentWidth);
if(this.state.componentWidth > 600){
return (<Desktop/>);
}
if(this.state.componentWidth > 400){
return (<Tablet/>);
}
return (<Mobile />);
}
mixins: [componentWidthMixin],
render: function () {
console.info('CHILD: '+ this.state.componentWidth);
if(this.state.componentWidth > 1050){
return <div>EXTRA Desktop</div>;
}
return <div>Desktop</div>;
}