This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Lazy Component Base | |
Idle | |
load -> Loading | |
Loading | |
success -> Active | |
failure -> Error | |
Active | |
Error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
API Resource Base | |
# A "guard" is a condition that must be met for a transition to occur. For example, in many cases an API resource cannot be loaded until a user has successfully authenticated. "Inactive" -> transition(`load`) [userIsAuthenticated] -> "Loading". Multiple transitions can be possible, given an order. | |
Idle | |
# If a "guard" is applied to the `load` action, it must be met before we can transition to "Loading" | |
load -> Loading | |
Loading | |
success -> Loaded | |
failure -> Error | |
Loaded | |
Error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user | |
unauthenticated | |
AUTHENTICATE -> authenticating | |
noErrors | |
authError | |
authenticating | |
AUTHENTICATE_SUCCESS -> authenticated | |
AUTHENTICATE_FAILURE -> authError | |
authenticated | |
# Signal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pros | Cons | |
---|---|---|
Web development at global scale | Leaving great team | |
Interesting challenges | Slightly lower overall compensation | |
Team lead experience | Stricter PTO policy | |
Improved processes | Contract-to-perm | |
Networking opportunities | Poor timing (baby due soon) | |
Better 401(k) matching | Fewer luxuries (equipment, etc) | |
WFH 2 days/week | Longer commute |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { AdSetCollectionEditor } from 'containers/adBuilder/adSetCollections/adSetCollectionEditor/adSetCollectionEditor'; | |
// ... other imports etc | |
const mapStateToProps = (state, { params: { guid, adSetCollectionId } }) => { | |
// map library ad set collection props, below are the props that need to be provided to the AdSetCollectionEditor component | |
return { | |
isSaving, | |
isFetching, | |
isFetchingConfigs, | |
adSetCollection, |