Hacker News new | ask | show | jobs
by STRML 3994 days ago
It's just a nice way to split up concerns. In React-Router-Component, the RouterMixin [1] mixes in the Environment Mixin [2] which allows the Environment to address its own concerns in a separate file and to be included in other, custom components.

1. https://github.com/STRML/react-router-component/blob/master/... 2. https://github.com/STRML/react-router-component/blob/master/...

1 comments

Ah, now I get it, you meant nested mixins. Great, thanks for the pull, hope it gets merged.