yandex / reselector

Use React Components in css selectors
https://npm.im/reselector
Other
45 stars 10 forks source link

Resolve children #67

Open makary-s opened 5 years ago

makary-s commented 5 years ago

It will be quiet handy to have the ability to resolve nested components right from a parent's component path, so you don't have to search and specify them manually. Like so:

const {LinkForm} = resolve('components/LinkForm');
const {
    Checkbox,
    Input
} = resolveChildren('components/LinkForm', 'Checkbox', 'Input');