The repository provides a demo for using use-thunk.
More specifically, we would like to:
- Implement thunk-modules parent, child, grandChild and the corresponding ui-components Parent, Child, GrandChild.
- Implement thunk-module user as the ui-component-independent thunk-module.
- With ui-component GrandGrandChild, reflecting that the re-rendering in GrandChild does not affect the sub-virtual-DOMs if the data-object is not updated.
- Through console logs, we can see that updating grandChild successfully re-renders GrandChild (module-wise) / GrandGrandChild (object-wise) without re-rendering Parent and Child.