1.1.31 • Published 4 years ago
config-manager-cross-frame v1.1.31
Config Manager Cross Frame
Helper React Component to manage all direct cross frame communication with Configuration Manager
How to use
- Instantiate
CMCrossFrameApplication
anywhere in the React Hierarchy as a singleton component - Optionally provide the
onMessageFromCM
prop to handle actions from Config Manager - Optionally provide the
targetOrigin
prop for Config Manager (if known and stable) to increase secure communications - Use
sendCMCrossFrameMessageToConfigManager
method to send actions to Config Manager (or various helper methods)
How to publish
- Essentially, you just need to bump the version number and run
npm publish
- This can be done automatically and with test and lint by using
npm run bumpVersion
thennpm run publish