How to use the react-universal-component.CHUNK_NAMES.add function in react-universal-component

To help you get started, we’ve selected a few react-universal-component 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 sebastian-software / edge / packages / edge-core / src / server / loadImport.js View on Github external
export function preloadImport(wrapped) {
  CHUNK_NAMES.add(wrapped.chunkName())
}

react-universal-component

A higher order component for loading components with promises

MIT
Latest version published 4 years ago

Package Health Score

57 / 100
Full package analysis