My example of wrapping esp-js in middleware to integrate with react hooks.
https://codesandbox.io/s/github/derekdon/react-hooks-esp-middleware-example
My example of wrapping esp-js in middleware to integrate with react hooks.
https://codesandbox.io/s/github/derekdon/react-hooks-esp-middleware-example