“In contrast, updating a comment in the original nested shape would have required updating the comment object, the parent post object, the array of all post objects, and likely have caused all of the Post components and Comment components in the UI to re-render themselves.”

mooonymannmooonymann のブックマーク 2019/01/24 12:09

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

Normalizing State Shape - Redux

    Many applications deal with data that is nested or relational in nature. For example, a blog editor could have many Posts, each Post could have many Comments, and both Posts and Comments would be w...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう