gui---HOC

作者: hanxianshe_9530 | 来源:发表于2019-10-30 16:32 被阅读0次

scratch-gui/src/playground/render-gui.jsx

import GUI from '../containers/gui.jsx';

const WrappedGui = compose(
    AppStateHOC,
    HashParserHOC,
    TitledHOC
)(GUI);

scratch-gui/src/containers/gui.jsx

const WrappedGui = compose(
    LocalizationHOC,
    ErrorBoundaryHOC('Top Level App'),
    FontLoaderHOC,
    QueryParserHOC,
    ProjectFetcherHOC,
    ProjectSaverHOC,
    vmListenerHOC,
    vmManagerHOC,
    cloudManagerHOC
)(ConnectedGUI);
const ConnectedGUI = injectIntl(connect(
    mapStateToProps,
    mapDispatchToProps,
)(GUI));

相关文章

  • gui---HOC

    scratch-gui/src/playground/render-gui.jsx scratch-gui/src...

网友评论

      本文标题:gui---HOC

      本文链接:https://www.haomeiwen.com/subject/vstavctx.html