ConrabOpto / mst-query

Query library for mobx-state-tree
MIT License
116 stars 8 forks source link

Error when using queryCache in a observed component #4

Closed k-ode closed 3 years ago

k-ode commented 3 years ago

It seems to work but still gives this error message:

Warning: Cannot update a component (`wrappedComponent`) while rendering a different component (`wrappedComponent`)

Probably need to change some synchronous update when accessing the query cache.