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
Create utility helper that inverts a JavaScript object
`invertObject` is a functional helper that swaps the key with the
value for a JavaScript object.
This utility helper will be used to invert the objects in React's
HTMLDOMPropertyConfig in order to create a map for my parser.
HTMLDOMPropertyConfig:
https://github.com/facebook/react/blob/master/src/renderers/dom/shared/HTMLDOMPropertyConfig.js
Tests added to ensure the helper works as expected.
0 commit comments