Create a reusable component that seemlessly toggles between view and edit modes. #136
Labels
No Label
hex-grid
maintenance
music-player
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: savanni/monorepo#136
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The first example of this is the WeightView component. This component easily toggles between a display view and an edit view.
Such a component should be easily extendable to have several children, such as would be relevant for a Time/Distance workout, in which the entire workout should be editable and should switch back to pure view (with an associated save operation) when the edit is complete.