React extensions boilerplate not working any more on the developer rig

Had same error, i use nextjs after adding new React.Context component, something goes wrong and twitch helper in pages/video_overlay stopped to loading.
Twitch helper was injected in head via next/head

import Head from "next/head";
...
<Head>
        <script src="https://extension-files.twitch.tv/helper/v1/twitch-ext.min.js" />
</Head>

Solution: move twitch helper script loading upper in hierarchy in my case i moved it to pages/_app.tsx, if u are using create-react-app or something like that just try to move it in App.jsx/tsx

1 Like