Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
react-native-infinite-scroll-view
Advanced tools
An infinitely scrolling view that notifies you as the scroll offset approaches the bottom
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.
Make sure you have react-native 0.8.0-rc.
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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.