-
Notifications
You must be signed in to change notification settings - Fork 377
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
Update to react-virtual 2.10.4 #7213
base: main
Are you sure you want to change the base?
Conversation
My previous tests regarding this was that this line is causing issue with react-virtual
createRef is not valid in functional components and useRef should be used instead. react-virtual is added to support search inside items, here is the PR #5112, maybe you can utilize the info from that PR to test this one. The other relevant doc are here https://docs.terria.io/guide/connecting-to-data/item-search/ and https://docs.terria.io/guide/connecting-to-data/item-search/indexed-item-search/. I am not aware of other easier way to really test this |
@zoran995 Thank you for the help. If you really mean that createRef is not valid in functional components, and SearchResults is a functional component, that sounds like an outright bug that should be fixed separately. Is there something subtle about it, or can createRef just be replaced with useRef in general? |
They are the same just intended to be used in different type of components, here is react docs |
59358a1
to
9be50d3
Compare
Rebased to latest main to resolve conflicts, and updated CHANGES.md. |
Commit 236b9c9 locked the version to 2.3.2 to avoid a bug in 2.4. The bug in question has hopefully been fixed in the past 3 years.
9be50d3
to
85932a1
Compare
What this PR does
Commit 236b9c9 locked the version
to 2.3.2 to avoid a bug in 2.4. The
bug in question has hopefully been
fixed in the past 3 years.
Test me
No idea how to test this.
Checklist
doc/
.