mobx-react-devtools icon indicating copy to clipboard operation
mobx-react-devtools copied to clipboard

mobx-react shouldn't be required if only using mobx-react-lite

Open pdeva opened this issue 5 years ago • 2 comments

in our new project, we are using only functional components with react hooks. thus, we only need mobx and mobx-react-lite as dependencies.

however, if we use mobx-react-devtools, then it requires mobx-react.

mobx-react shouldnt be required for using mobx-react-devtools, if the project only uses mobx-react-lite

pdeva avatar Apr 02 '19 20:04 pdeva

The devtools largely don't apply to lite, so adding them doesn't add anything at this point in time.

Op di 2 apr. 2019 23:13 schreef pdeva [email protected]:

in our new project, we are using only functional components with react hooks. thus, we only need mobx and mobx-react-lite as dependencies.

however, if we use mobx-react-devtools, then it requires mobx-react.

mobx-react shouldnt be required for using mobx-react-devtools, if the project only uses mobx-react-lite

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mobxjs/mobx-react-devtools/issues/114, or mute the thread https://github.com/notifications/unsubscribe-auth/ABvGhPUEbiQhcC3CdY22sF_kUU0WN3GVks5vc7nmgaJpZM4cZBs- .

mweststrate avatar Apr 04 '19 13:04 mweststrate

the same questions

jayteen avatar Oct 09 '23 09:10 jayteen