Latest Threat ResearchGlassWorm Loader Hits Open VSX via Developer Account Compromise.Details
Socket
Book a DemoInstallSign in
Socket

@times-visuals/script-loader

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@times-visuals/script-loader

Simple React component for loading a script before rendering it's children

npmnpm
Version
1.0.1
Version published
Weekly downloads
4
-20%
Maintainers
2
Weekly downloads
 
Created
Source

[Times Visuals] Script Loader

Simple React component for loading a script before rendering it's children

Installation

# Yarn
$ yarn add @times-visuals/script-loader

# npm
$ npm add @times-visuals/script-loader

Usage

import ScriptLoader from "@times-visuals/script-loader";

export default () => (
  <ScriptLoader src="url/to/script">
    <div>Hello, world! This renders once the `src` script has loaded</div>
  </ScriptLoader>
);

FAQs

Package last updated on 05 Jun 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts