Hi!
I am experiencing a slow build time, and I would like to try the workspace design, but I have cyclic dependency issue.
I would like to have
- a main crate for the main app,
- router crate for the router,
- component crate for my components,
- pages crate for my pages.
My issue, it that the router crate needs access to the pages crate (to navigate there), pages needs access to components and router crate (to use Link component), and components need access to router crate also to display links. This is a nice cyclic dependency issue. How should I solve it?
Btw. Having 7 sample pages and 3 components, using trunk serve I have a massive 30-40 sec build time. Is that normal?