Test: ReactJS Test
Will and if yes, when and how immutable data will make big ReactJs application faster?
Immutable data use smart history cache when multiple mutations are done for same object, which provides easier shouldComponentUpdate implementation
Immutable data will perform better because of abstracting prototype chain for all Object type data structures
Immutable data will perform faster because it doesn't create new pointers for every object, like normal objects do
Immutable data won't provide better performance because it requires more CPU cycles and RAM to create new objects on every change
For complicated data structure immutable data provides faster comparison
Immutable data is one more abstraction layer and it will make application slower, but it will introduce better overall developer experience
0 votesPlease login to submit your answer.