Compiling of views taking lit of time during development

:wave:

I sometimes have a similar problem when I create a a cyclical dependency across views. Try using mix xref graph --sink lib/<your_app>_web/views/<some_view>.ex --format dot && dot -Tpng xref_graph.dot -o xref_graph.png && open xref_graph.png with one of your views to visually check for any cyclical deps.

3 Likes