Package Exports
- universal-polyfill-hooks
- universal-polyfill-hooks/lib/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (universal-polyfill-hooks) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
universal-polyfill-hooks
Hooks polyfill for React/Rax
Usage
import Engine from 'universal-polyfill-engine';
import { useState, useEffect } from 'universal-polyfill-hooks';
import React from 'react';
Engine.set(React);
import * as Rax from 'rax';
Engine.set(Rax);Others
See: