Không hiểu triết lý (philosophy) của mobx

Chào mọi người,
Em là newbie React, đang học mobx, em có xem ở trang chủ Mobx có ghi:
The philosophy behind MobX is very simple:
Anything that can be derived from the application state, should be derived. Automatically.
em vẵn chưa hiểu lắm về vần đề này, anh chị nào có thể giải thích được không ạ?
em cảm ơn!
https://mobx.js.org/README.html

Theo ý hiểu, tức là mỗi khi application state có bất cứ thay đổi nào thì mọi thứ khác sẽ tự động nhận được thay đổi đó. Mọi thứ đó bao gồm UI, data serialization, server communication,…

In other words, MobX makes your stores observable and automatically reflects the state on the components when any observed data changes

3 Likes
83% thành viên diễn đàn không hỏi bài tập, còn bạn thì sao?