You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our core model of the application is growing quite large, and impacting our compilation time, as every reducer/selector/etc is #include "Model.h"
There is the note about using box to work around incomplete types, so this seemed like a good place to start (change all the includes in the Model.h to be forward declared, as they are already in box's already. https://sinusoid.es/immer/design.html?highlight=box#recursive-types
But this fails to instantiate as the type is incomplete. Did I misunderstand the use case here? Is there an easy way to support foward-declaration of the model types with immer containers?
The text was updated successfully, but these errors were encountered:
Our core model of the application is growing quite large, and impacting our compilation time, as every reducer/selector/etc is
#include "Model.h"
There is the note about using
box
to work around incomplete types, so this seemed like a good place to start (change all the includes in the Model.h to be forward declared, as they are already inbox
's already.https://sinusoid.es/immer/design.html?highlight=box#recursive-types
But this fails to instantiate as the type is incomplete. Did I misunderstand the use case here? Is there an easy way to support foward-declaration of the model types with immer containers?
The text was updated successfully, but these errors were encountered: