Answer the question
In order to leave comments, you need to log in
How to optimize external scripts for pagespeed?
Guys, please tell me how you optimize external scripts (for example, recapcha, google tag, metrics, etc.)
pagespeed constantly swears at them
, they are connected to useEffect via the function
export const scriptAppend = (path: string):void => {
const d = window .document,
h = d.head,
e = d.createElement("script");
async = true;
e.src = path;
h.appendChild(e);
}
application ssr
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question