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

Adding formatter should invalidate cache #699

Closed
jcubic opened this issue Sep 30, 2021 · 1 comment
Closed

Adding formatter should invalidate cache #699

jcubic opened this issue Sep 30, 2021 · 1 comment
Labels
Bug resolved if issue is resolved, it will be open until merge with master

Comments

@jcubic
Copy link
Owner

jcubic commented Sep 30, 2021

Issue summary

The cache is not invalidated when adding formatted and refreshing the view

Expected behavior

The cache should be invalidated and if the existing output is formatted.

Actual behavior

Formatter is ignored after refresh

Steps to reproduce

See emoji demo.
Remove clear_cache() call and refresh the page, 😃 is not rendered.

@jcubic jcubic added the Bug label Sep 30, 2021
@jcubic
Copy link
Owner Author

jcubic commented Sep 30, 2021

The solution may be to clear the cache on refresh() also it's worth adding refresh of CMD to that funciton.

@jcubic jcubic added the resolved if issue is resolved, it will be open until merge with master label Oct 1, 2021
@jcubic jcubic closed this as completed Oct 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug resolved if issue is resolved, it will be open until merge with master
Projects
None yet
Development

No branches or pull requests

1 participant