Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How is this different from react-measure? #2

Closed
gmaclennan opened this issue Nov 9, 2015 · 1 comment
Closed

How is this different from react-measure? #2

gmaclennan opened this issue Nov 9, 2015 · 1 comment
Assignees
Labels

Comments

@gmaclennan
Copy link

This seems to do the same as react-measure but does not use MutationObservers to check for dynamic changes in height? Just trying to figure out which library is best for me to use.

@nkbt
Copy link
Owner

nkbt commented Feb 15, 2016

Hi, @gmaclennan, I accidentally did not have this repo watched and totally missed the issue

We've been developing this solution with @souporserious pretty much the same time. It really depends on what you need.

  • react-height does not support nested height change, it only checks immediate children change.
  • react-height is quite simple and does not depend much on browser-specific functionality and could be used as part of react-native app with some minimal changes that I am planning to add
  • react-height is used as backend for react-collapse

Besides those - not sure. I suggest to try it and decide which one works better for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants