All state now accumulated in the Project Context, which does not represent the real state of the application. Split them to better sync client data with server.
Solution
Split Project Context into:
Project Context
CodeFile Context
Document Context
Make sure the Design screen sync with Project, CodeFile sync with the code screen and Document sync with Document context.
Problem
All state now accumulated in the Project Context, which does not represent the real state of the application. Split them to better sync client data with server.
Solution
Split Project Context into: