useEffect away. The snippet
below mounts the script on first render, then calls Tally.loadEmbeds() once it’s
available. If the script is already loaded on the page, it skips the script tag and just
loads the embeds.
Mount a Tally embed inside a React component using a useEffect hook.
useEffect away. The snippet
below mounts the script on first render, then calls Tally.loadEmbeds() once it’s
available. If the script is already loaded on the page, it skips the script tag and just
loads the embeds.