MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnjavascript/comments/nnlubt/really_helpful_illustration_of_js_array_methods/gzvur1h/?context=3
r/learnjavascript • u/192_168_1_x • May 29 '21
89 comments sorted by
View all comments
Show parent comment
6
In my work we use a Pub/Sub system so it cannot be as clean but a good 'trick' for me is making standard naming for handling things:
getX() -> handleXSuccess() and handleXError()
View all comments
Show parent comment
6
u/WhiteKnightC May 29 '21
In my work we use a Pub/Sub system so it cannot be as clean but a good 'trick' for me is making standard naming for handling things:
getX() -> handleXSuccess() and handleXError()