mobxjs / mobx-react

React bindings for MobX
https://mobx.js.org/react-integration.html
MIT License
4.85k stars 349 forks source link

Why not copy static propertities in prototype ? #892

Closed 7oolss closed 4 years ago

7oolss commented 4 years ago

Static fields in prototype can not be visible on the generated Injector.

https://github.com/mobxjs/mobx-react/blob/fddedee59415ea56659a06365237164b77710b32/src/utils/utils.ts#L62

mweststrate commented 4 years ago

Unclear what is expected from us in this issue. Please open a new issue and follow the bug template.