Skip to content

Conversation

@21e8
Copy link

@21e8 21e8 commented Dec 25, 2024

Hi,

I had some problems loading with the instructions given in the readme.
This seems to work better for me on nextjs.

Regards

@vercel
Copy link

vercel bot commented Dec 25, 2024

@21e8 is attempting to deploy a commit to the Million Team on Vercel.

A member of the Team first needs to authorize it.

@heyglassy
Copy link

heyglassy commented Jan 2, 2025

Hi,

I had some problems loading with the instructions given in the readme. This seems to work better for me on nextjs.

Regards

For some reason Arc wasn't displaying the re-renders but was loading the script. This ended up fixing that issue. Thank you!

Edit: Nope I take that back it breaks re-rendering.

@kewldan
Copy link

kewldan commented May 13, 2025

If you don't specify strategy at all, the script will run normally, thus not increasing the “initial HTML from the server” following Next.JS Docs. Also you don't have to specify Script in the head tag, because in your case, when beforeInteractive is specified, Script will be automatically moved to the head, also following the above documentation

So I Think u can just remove strategy and async to ensure that script will work as designed. But avoiding eslint warnings

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants