Closed reddigari closed 4 years ago
@reelmatt I think you're right --- I wrestled with that idea, and the nested and chained then
/catches
always look kinda gross, but the functions repeat themselves so much that it's probably worthwhile. The complicated ones can just handle the data after the call to ourFetch
.
Updates coming shortly.
I think we're good, but if someone wants to double-check that I didn't break any functionality with the last commits before it's merged, that'd be great.
Looks good to me!
API.createNode()
, e.g., instead of making XHR requests and handling responses in the component. (Reduces footprint of Workspace component by almost half.)