react-performance icon indicating copy to clipboard operation
react-performance copied to clipboard

question: can I use react-performance with mobx?

Open devdoomari opened this issue 7 years ago • 1 comments

looking at the docs, it seems that react-performance is dependent on redux. Is this the case?

Right now, I have a project that does not use any redux at all (rxjs + mobx only), and I'm wondering if I can use react-performance for it.

Thanks!

devdoomari avatar Dec 24 '17 09:12 devdoomari

Hey @devdoomari.

Redux is an optional dependency - this can definitely be used without it :)

I haven't had the opportunity to work with mobx but you can use the measure HOC on any React component.

amsul avatar Dec 30 '17 22:12 amsul