Skip to content

Conversation

@chaitanya-bhagavan
Copy link

themeCache would cache previously used styles even if the theme was changed. With this change, styles are recalculated from the top but parent lookups will still be fetched from the cache as before.

themeCache would cache previously used styles even if the theme was changed. With this change, styles are recalculated from the top but parent lookups will still be fetched from the cache as before.
@chaitanya-bhagavan
Copy link
Author

@shivrajkumar Any updates on this PR

@patrickgalbraith
Copy link

patrickgalbraith commented Sep 19, 2017

Having this issue as well. This patch works for me.

Thanks @chaitanya0bhagvan hopefully it gets merged one day.

@aralmoro
Copy link

I am having an issue with dynamic custom themes and this helped me. Thanks @chaitanya0bhagvan

retailos pushed a commit to retailos/theme that referenced this pull request Dec 15, 2017
retailos pushed a commit to retailos/NativeBase that referenced this pull request Dec 18, 2017
@flindenberg
Copy link

+1

We would benefit from this patch as well.

@greyexpert
Copy link

+1

Also it would be great to have API to invalidate the cache somehow.

@upils
Copy link

upils commented Sep 26, 2018

+1
Same issue here. Would be great to merge.

@jgadelange
Copy link

+1 Still a problem here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants