A higher-order reducer that filters out actions that do not match the provided namespace.
namespace
(string): The namespace of the reducer.
(Function): A function that accepts a reducer and returns reducer that wraps the provided one.
import { namespaced } from 'redux-subspace'
import reducer from 'somewhere'
const namespacedReducer = namespace('subApp')(reducer)