[compiler] Fix false negatives and add data flow tree to compiler error for `no-deriving-state-in-effects`
Summary: Revamped the derivationCache graph. This fixes a bunch of bugs where sometimes we fail to track from which props/state we derived values from. Also, it is more intuitive and allows us to easily implement a Data Flow Tree. We can print this tree which gives insight on how the data is derived and should facilitate error resolution in complicated components Test Plan: Added a test case where we were failing to track derivations. Also updated the test cases with the new error containing the data flow tree
J
Jorge Cabiedes Acosta committed
eb3659f727c8338516a0088902cb003183e1d608
Parent: 663ddab