Fork me on GitHub
#fulcro
<
2019-10-24
>
thheller18:10:42

> INFO [com.fulcrologic.fulcro.rendering.ident-optimized-render:45] - Failed to do optimized update. Component :http://shadow.cljs.ui.app/Root queries for data that changed, but does not have an ident. If that is your application root, consider moving that changing state to a child component.

thheller18:10:27

not sure I understand why the root can't have data that is updated?

souenzzo19:10:38

I understand that if your root component has a ident, then fulcro will do optimizations about data change

tony.kay19:10:35

@thheller this is a weird error, I agree

tony.kay19:10:13

the fact that Root is special is an annoyance…you can ignore this message…it is meant to help you find performance problems when you fail to give some deep component an ident

tony.kay19:10:54

it’s basically saying that “data in such-and-such changed, it didn’t have an ident so I had to re-render from root (the whole tree) instead of just some sub-portion of the tree.”

tony.kay19:10:05

but that should not print if the component is root

tony.kay19:10:47

since there is no other choice