yandex / reselector

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

Keep component's name with default export #72

Closed lttb closed 4 years ago

lttb commented 4 years ago

If we consider the component like this:

export default class MyComponent extends React.Component {
  // ...
}

reselector will resolve just {default: 'hash'}

it should be also handy to resolve the component's name: {default: 'hash', MyComponent: 'hash'}