Skip to content

Using active item key inside renderItem #361

Answered by MatiPl01
pkfms asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @pkfms!

I added the ItemContext some time ago and there is a useItemContext hook that returns an object with isActive SharedValue, but I can see that I forgot to export it from the library and didn't add docs yet.

I will add this missing export and it should be available in the next release that I plan to make in about a week.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@MatiPl01
Comment options

@pkfms
Comment options

Answer selected by pkfms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants