Skip to content

Ingesting from inside an useEffect or event handler does not work #212

Description

Minimum Reproducible Example

Steps to reproduce:

  • Clone the repo using git clone https://github.com/Dacaramo/ingest-from-use-effect-not-working.git
  • Install all of the dependencies using npm i
  • Go to the /env/.env.dev file and change the value of both the NEXT_PUBLIC_AXIOM_DATASET and NEXT_PUBLIC_AXIOM_TOKEN env variables for the ones corresponding to your Axiom data set
  • Run the example project using npm run start-dev

Every single ingest is being made from the ProvidersWrapper component.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions