Skip to content Skip to sidebar Skip to footer
Showing posts with the label Immutability

Why My Redux State Not Updating

state not updating.when action is dispatched the state should update to isAuthenticated to true..bu… Read more Why My Redux State Not Updating

Why Does This Function Mutate Data?

function bubbleSort(toSort) { let sort = toSort; let swapped = true; while(swapped) { swa… Read more Why Does This Function Mutate Data?

How To Concat Arrays Immutable Way Js

I wonder how to contact array that is immutable. Lets imagine I start with array list = [4,1], and … Read more How To Concat Arrays Immutable Way Js

How Can I Return Immutable Data From Redux Reducer?

For a learning and test project, I'm trying to return immutable redux data from reducer because… Read more How Can I Return Immutable Data From Redux Reducer?