Playing around application states in ReactJS or VueJS is quite fun. But it’s not fun anymore if we (accidentally) mutate the state while doing a search from the state. It happens to me when I’m trying to find a sidebar ID from the store of the sidebar tree. Yes, a tree. Imagine the store if we have a sidebar tree like this Sidebar tree example and we need to find out the ID of file2.

Continue reading

Author's picture

Reyhan Sofian

Just another software engineer

Engineering Manager @ Kata.ai

Indonesia