
Security News
Feross on TBPN: How North Korea Hijacked Axios
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.
react-isomorphic-scriptloader
Advanced tools
React package to load scripts into your isomorphic (server side rendered) webapp.
npm install --save react-isomorphic-scriptloader
import React from 'react'
import Loader from 'react-isomorphic-scriptloader'
export default class MyComponent extends React.Component {
state = { scriptsLoaded: false };
render() {
return (
<div>
<Loader src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&libraries=places" onLoad={() => this.setState({ scriptsLoaded: true })} />
{ this.state.scriptsLoaded && <div>Yayy google maps loaded</div> }
{ !this.state.scriptsLoaded && <div>Please wait while google maps is being loaded</div> }
</div>
)
}
}
This package is licensed under the terms of MIT License. See the LICENSE file for further information.
FAQs
Load scripts with ease
The npm package react-isomorphic-scriptloader receives a total of 11 weekly downloads. As such, react-isomorphic-scriptloader popularity was classified as not popular.
We found that react-isomorphic-scriptloader demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Security News
OpenSSF has issued a high-severity advisory warning open source developers of an active Slack-based campaign using impersonation to deliver malware.

Research
/Security News
Malicious packages published to npm, PyPI, Go Modules, crates.io, and Packagist impersonate developer tooling to fetch staged malware, steal credentials and wallets, and enable remote access.