
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-quix-loader
Advanced tools
Reduce the load of a website. If a media is already downloaded by another user, it will be downloader with webtorrent tech, so no load or GB consumed on the server machine. This will grant to the host that the website can be used by infinite people without bandwidth problem.
There is another way to improve this system (A wiki with all detail can be requested in the issue)
Props to pass to the UI component
| Property | Type | Required? | Description |
|---|---|---|---|
| src | String | true | Like in an image component, the source of the file |
| infoHash | String | true | An id to generate from https://instant.io |
| loadingComponent | Component | false | A component waiting to find the torrent on p2p network |
| maxTimeout | Number | false | Default 15000, it's the time that wait before load the content from the server instead of torrent network |
Here is an example of the use of the component with the UI
import {QuiXImg, QuiXVideo} from 'react-quix-loader';
import img1 from './asset/img1.jpg'
import videoSmall from './asset/video_small.mp4'
import img2 from './asset/img2.jpg'
import videoBig from './asset/video_big.mp4'
function App() {
return (
<div style={{display:"flex", flexDirection:"column"}}>
Small image:
<QuiXImg style={{height: "200px", objectFit:"contain"}} src={img1} infoHash={"befa0472c1d9fc266f0448f7b35076b4b29835c7"}/>
Big image:
<QuiXImg style={{height: "200px", objectFit:"contain"}} src={img2} infoHash={"b34630aa434af7a664d3a186b8fca7ce31734f09"}/>
Small video:
<QuiXVideo style={{height: "400px"}} src={videoSmall}
infoHash={"a8e5c780be600d02bac85a551bc8ed6626334dbf"}/>
Big video:
<QuiXVideo style={{height: "400px"}} src={videoBig}
infoHash={"cb9405f084dd224919f1399a425315c7a63211b9"}/>
</div>
);
}
export default App;
FAQs
A component to reduce the load of media on the website
The npm package react-quix-loader receives a total of 1 weekly downloads. As such, react-quix-loader popularity was classified as not popular.
We found that react-quix-loader demonstrated a not healthy version release cadence and project activity because the last version was released 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.