I tried do define the action with:
const addMessage=(message)=>{
type:ADD
message:message
}
and it didn’t work, it had to do:
function addMessage(message).
I wonder, is it a glitch or an actual thing?
I tried do define the action with:
const addMessage=(message)=>{
type:ADD
message:message
}
and it didn’t work, it had to do:
function addMessage(message).
I wonder, is it a glitch or an actual thing?
please remove the post