How to use the @hookstate/core.Prerender function in @hookstate/core

To help you get started, we’ve selected a few @hookstate/core 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 avkonst / hookstate / plugins / Prerender / dist / index.js View on Github external
return function (link, prev) {
        link.with(core.Prerender).extended.enablePrerender(isEqual);
        return transform(link, prev);
    };
}

@hookstate/core

The flexible, fast and extendable state management for React that is based on hooks and state usage tracking.

MIT
Latest version published 1 year ago

Package Health Score

59 / 100
Full package analysis

Similar packages