Djungo Playground — Part 19
Frontend state synchronization: after every mutation, the interface should converge back to the backend state.
This chapter focuses on keeping form, viewer, and active filters aligned.
Read / Update / Delete by ID
Use getById before mutating a record. The form should reflect backend-confirmed state, not remembered assumptions.
After update, the form remains anchored to the same identity and the viewer reloads.
After delete, the form is cleared because the current working entity is no longer valid in the active workflow.
Query filters for view
Active filters define the current query context. That context should survive insert, update, and delete.
Viewer (synchronized filtered result set)
The viewer always reloads from backend-driven state, never from remembered local assumptions.