Want to make tutorial about this architecture (nube for nubes) because all the others are out of date.
Could you help, please? )))
This is the repo.
-
Cant understand why we have
create
function here, in statelessnewpost
component.
I mean, we havecreate
function here, in action folder.
Cant connect this two in my head
The only connection is in the routes.js of the core module.
-
Cant understand what
injectDeps
does and howNewPost
component has access to MainLayoutCtx props(if it has)? -
If in
NewPost
component we callcreate
from actions/posts.js why we do this with only two params? -
What else was injected in
MainLayoutCtx
? )