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

Fix to load new themes #1

Open
wants to merge 1 commit into
base: transpiled
Choose a base branch
from

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