This method uses url query params to detect when the page should be in
edit mode. There are two issues with the current approach:
1. The url query param is actually a pretty unintuitive pattern. It's
disorienting to hit the back button and have it take you from edit
mode to view mode rather than returning to the main task list.
2. The submit button does return the user to view mode, but caching
results in the need for a refresh to see the updated task record.
This can be solved.
Added server-side error handling for obvious total failure cases. If
a task is missing or has unexpected duplicates, SveltKit with now throw
a built in http error.
Added support for parent and child task fetching. Serverside, the raw
response object is passed to the client. The client is now able to
handle the parent and child response objects.