Refactor annotation events in root-thread
Remove state logic from root-thread and place it in corresponding stores: - deleteNewAndEmptyAnnotations moves to drafts and renamed to deleteNewAndEmptyDrafts - events.BEFORE_ANNOTATION_CREATED's logic moves to createAnnotation in annotations store - selection store handles REMOVE_ANNOTIONS action directly
Showing
Please register or sign in to comment