A collection of React hooks for interacting with Hubspot APIs
npm install --save react-hubspot
import { useForm } from 'react-hubspot'
export default () => {
  const { data, isLoading, isError, handleSubmit } = useForm({
    portalId: '<PORTAL_ID>',
    formId: '<FORM_ID>'
  })
  return (
    <form onSubmit={handleSubmit}>
      <input name="email" type="text" placeholder="email" />
    </form>
  )
}