Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
react-native-infinite-scroll-view
Advanced tools
An infinitely scrolling view that notifies you as the scroll offset approaches the bottom
NOTE: don't try to use this until https://github.com/facebook/react-native/pull/785 is merged.
InfiniteScrollView is a React Native scroll view that notifies you as the scroll offset approaches the bottom. You can instruct it to display a loading indicator while you load more content. This is a common design in feeds. InfiniteScrollView also supports horizontal scroll views.
It conforms to ScrollableMixin so you can compose it with other scrollable components.
npm install react-native-infinite-scroll-view
Compose InfiniteScrollView with the scrollable component that you would like to get events from. In the case of a ListView, you would write:
var React = require('react-native');
var InfiniteScrollView = require('react-native-infinite-scroll-view');
var {
ListView,
} = React;
// Inside of a component's render() method:
render() {
return (
<ListView
renderScrollComponent={props => <InfiniteScrollView {...props} />}
dataSource={...}
renderRow={...}
canLoadMore={this.state.canLoadMoreContent}
isLoadingMore={this.state.isLoadingContent}
/>
);
}
InfiniteScrollView uses the onScroll
event to continuously calculate how far the scroll offset is from the bottom.
FAQs
An infinitely scrolling view that notifies you as the scroll offset approaches the bottom
The npm package react-native-infinite-scroll-view receives a total of 3,198 weekly downloads. As such, react-native-infinite-scroll-view popularity was classified as popular.
We found that react-native-infinite-scroll-view demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 17 open source maintainers 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
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.