-
fetchAllRecipes
0. invoked fromRecipesIndex
didMount
/willReceiveProps
0.GET /api/recipes
is called. 0.receiveAllRecipes
is set as the callback. -
createRecipe
0. invoked from new recipe buttononClick
0.POST /api/recipes
is called. 0.receiveSingleRecipe
is set as the callback. -
fetchSingleRecipe
0. invoked fromRecipeDetail
didMount
/willReceiveProps
0.GET /api/recipes/:id
is called. 0.receiveSingleRecipe
is set as the callback. -
updateRecipe
0. invoked fromRecipeForm
onSubmit
0.POST /api/recipes
is called. 0.receiveSingleRecipe
is set as the callback. -
destroyRecipe
0. invoked from delete recipe buttononClick
0.DELETE /api/recipes/:id
is called. 0.removeRecipe
is set as the callback.
-
receiveAllRecipes
0. invoked from an API callback. 0.Recipe
store updates_recipes
and emits change. -
receiveSingleRecipe
0. invoked from an API callback. 0.Recipe
store updates_recipes[id]
and emits change. -
removeRecipe
0. invoked from an API callback. 0.Recipe
store removes_recipes[id]
and emits change.
RecipesIndex
component listens toRecipe
store.RecipeDetail
component listens toRecipe
store.
-
fetchAllLikes
0. invoked fromRecipesIndexItem
didMount
/willReceiveProps
0.GET /api/recipes/:id/likes
is called. 0.receiveAllLikes
is set as the callback. -
createLike
0. invoked from new like buttononClick
0.POST /api/recipes/:id/like
is called. 0.receiveSingleLike
is set as the callback. -
destroyLike
0. invoked from delete like buttononClick
0.DELETE /api/recipes/:id
is called. 0.removeRecipe
is set as the callback.
-
receiveAllLikes
0. invoked from an API callback. 0.Recipe
store updates_recipes
and emits change. -
receiveSingleLike
0. invoked from an API callback. 0.Recipe
store updates_recipes[id]
and emits change. -
removeLike
0. invoked from an API callback. 0.Recipe
store removes_recipes[id]
and emits change.
RecipesIndex
component listens toLike
store.RecipeDetail
component listens toLike
store.
-
fetchAllFollows
0. invoked fromRecipesIndexItem
didMount
/willReceiveProps
0.GET /api/recipes/:id/likes
is called. 0.receiveAllFollows
is set as the callback. -
createFollow
0. invoked from new like buttononClick
0.POST /api/recipes/:id/like
is called. 0.receiveSingleFollow
is set as the callback. -
destroyFollow
0. invoked from delete like buttononClick
0.DELETE /api/recipes/:id
is called. 0.removeRecipe
is set as the callback.
-
receiveAllFollows
0. invoked from an API callback. 0.Recipe
store updates_recipes
and emits change. -
receiveSingleFollow
0. invoked from an API callback. 0.Recipe
store updates_recipes[id]
and emits change. -
removeFollow
0. invoked from an API callback. 0.Recipe
store removes_recipes[id]
and emits change.
RecipesIndex
component listens toFollow
store.RecipeDetail
component listens toFollow
store.
-
fetchSearchSuggestions
0. invoked fromRecipeSearchBar
onChange
when there is text 0.GET /api/recipes
is called withtext
param. 0.receiveSearchSuggestions
is set as the callback. -
receiveSearchSuggestions
0. invoked from an API callback. 0.SearchSuggestion
store updates_suggestions
and emits change. -
removeSearchSuggestions
0. invoked fromRecipeSearchBar
onChange
when empty 0.SearchSuggestion
store resets_suggestions
and emits change.
SearchBarSuggestions
component listens toSearchSuggestion
store.