A higher-order action that adds the provided namespace to the action.
namespace
(string): The namespace to apply to the action.
(Function): A function that accepts an action and returns a new action that is identical to the original except with the namespace applied.
import { namespacedAction } from 'redux-subspace'
const action = namespacedAction('subApp')({ type: 'MY_ACTION', value: 'example' })