Skip to content

v2 replacement for groupArraysAfterLength? #19

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

Closed
Tracked by #27
davidlougheed opened this issue Sep 17, 2022 · 5 comments · Fixed by #21 or #28
Closed
Tracked by #27

v2 replacement for groupArraysAfterLength? #19

davidlougheed opened this issue Sep 17, 2022 · 5 comments · Fixed by #21 or #28
Labels
bug Something isn't working

Comments

@davidlougheed
Copy link

I realize v2 is still in early alpha, but I am trying to upgrade my project to react 18 (and so I've had to switch from react-json-view to this) and I'm wondering if there is a replacement for the groupArraysAfterLength parameter in v2, since it doesn't seem to work the same way.
Thanks!

@himself65
Copy link
Contributor

I just finished the basic usage of v2, other props are still working on it.

V2 will support all of the old props when it is stable. Thanks

@himself65 himself65 added the bug Something isn't working label Sep 17, 2022
@davidlougheed
Copy link
Author

great, thanks for the prompt response!

@himself65
Copy link
Contributor

@davidlougheed
Copy link
Author

@himself65 it doesn't work the same way as in v1; in v1 it would collapse the array segments and you could click on them to expand them - the use case here was with objects with long array properties – the main objects could be expanded, but the long arrays could be collapsed

@himself65 himself65 reopened this Sep 18, 2022
@himself65
Copy link
Contributor

@himself65 it doesn't work the same way as in v1; in v1 it would collapse the array segments and you could click on them to expand them - the use case here was with objects with long array properties – the main objects could be expanded, but the long arrays could be collapsed

thanks for trying, let me read the old code to make sure they have the same behavior

This was referenced Sep 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants