Skip to content

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

@Dacaramo

Description

@Dacaramo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions