You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[WOOTAX-294] Ban bundled React imports in the store notices tree
Nothing stopped a bundled React import from coming back into these files, and
the unit tests cannot catch it: under Jest the host React and the bundled React
are the same instance, so an element built with the wrong one still looks right.
Restrict the react import in this tree instead, and record the constraint next
to the code it applies to, along with the dependency list the entry relies on.
0 commit comments