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.
Minimum Reproducible Example
Steps to reproduce:
git clone https://github.com/Dacaramo/ingest-from-use-effect-not-working.git
npm i
/env/.env.dev
file and change the value of both theNEXT_PUBLIC_AXIOM_DATASET
andNEXT_PUBLIC_AXIOM_TOKEN
env variables for the ones corresponding to your Axiom data setnpm run start-dev