Function: useScript()
useScript(
src):object
Defined in: useScript.ts:66
https://usehooks.com/useScript/
The script element is an external store: its data-status attribute is the
snapshot and its load/error events are the change notifications.
Parameters
| Parameter | Type |
|---|---|
src | string |
Returns
object
status: Status
status
status:
ScriptStatus