Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Hashnode/mern-starter
/ addPosts
Function
addPosts
client/modules/Post/PostActions.js:28–33 ·
view source on GitHub ↗
(posts)
Source
from the content-addressed store, hash-verified
26
}
27
28
export
function
addPosts(posts) {
29
return
{
30
type
: ADD_POSTS,
31
posts,
32
};
33
}
34
35
export
function
fetchPosts() {
36
return
(dispatch) => {
Callers
2
PostReducer.spec.js
File · 0.90
fetchPosts
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected