Closed YerkoPalma closed 6 years ago
After rendering a component like
state.cache(PostPreview, 'post-id').render()
next uses of the same component should be done from cache like
state.cache('post-id').render()
This call
throws an exception. Even this call
state.cache(null, 'post-id').render()
throws an exception. the only way to do this is by passing a noop to the cache method.
Expected behavior
After rendering a component like
next uses of the same component should be done from cache like
Actual behavior
This call
throws an exception. Even this call
throws an exception. the only way to do this is by passing a noop to the cache method.