export function nameSpacedTransformer(ns, transformer) {
  if (!transformer) {
    return nameSpacedTransformer.bind(null, ns);
  }
  return (state) => {
    const newState = transformer(state[ns]);
    // nothing has changed
    if (newState === state[ns]) {
      return state;
    }
    return { ...state, [ns]: newState };
  };
}

@@ -192,16 +192,17 @@
 e%5Bns%5D);%0A
+%0A
     // n
@@ -224,20 +224,45 @@
 ged%0A    
-if (
+// noop%0A    if (!newState %7C%7C 
 newState
@@ -296,21 +296,20 @@
 urn 
-state
+null
 ;%0A    %7D%0A
     
@@ -304,16 +304,17 @@
 ;%0A    %7D%0A
+%0A
     retu

Fix for name-spaced transformer