I think there might be a compilation issue before it was published. I get the following when I try to run it:
SyntaxError: /Users/xxxx/code/meerkat/meerkat-web/node_modules/aws-amplify-react-hooks/src/index.js: Unexpected token (2:12)
1 | // @flow
> 2 | import type { Node, ComponentType, Element } from 'react'
| ^
3 | import React, { createContext, useEffect, useContext, useReducer } from 'react'
4 | import _ from 'lodash'
5 | import type { ActionT, StateT } from './types'
I think there might be a compilation issue before it was published. I get the following when I try to run it: