How to use the fusion-react.ProvidedHOC.create function in fusion-react

To help you get started, we’ve selected a few fusion-react examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github fusionjs / fusionjs / fusion-plugin-i18n-react / src / hoc.js View on Github external
/** Copyright (c) 2018 Uber Technologies, Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 * @flow
 */

import {ProvidedHOC} from 'fusion-react';

export default ProvidedHOC.create('i18n');
github fusionjs / fusionjs / fusion-plugin-universal-events-react / src / hoc.js View on Github external
/** Copyright (c) 2018 Uber Technologies, Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 * @flow
 */

import {ProvidedHOC} from 'fusion-react';
import {UniversalEventsToken} from 'fusion-plugin-universal-events';

export default ProvidedHOC.create(
  'universalEvents',
  undefined,
  UniversalEventsToken
);

fusion-react

FusionJS entry point for React universal rendering

MIT
Latest version published 2 years ago

Package Health Score

54 / 100
Full package analysis

Similar packages