New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-eternal-list

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-eternal-list

This package can render infinite list items without memory issues as it is using binary tree algorithm to hide and show elements.

  • 1.0.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

react-eternal-list

This package can render infinite list items without memory issues as it is using binary tree algorithm to remove and display elements while scrolling. check the demo and see how it works!

NPM JavaScript Style Guide

Demo

Install

npm install --save react-eternal-list

Usage

import React, { Component } from 'react'

import ReactEternalList from 'react-eternal-list'

class Example extends Component {
  render () {
    return (
      <div className='YourApp'>
        <div className='YourList'>
          <ReactEternalList  
            list={} /* data ( Array of objects ) */
            updateRate={} /* Update rate ( Integer ) */ 
            onUpdate={} /* A Callback function which will get called when list visibility update ( Function ) */
            component={} /* A Function that should return Componet which you want to render as a list item ( Function ) */
          />
        </div>
      </div>
    )
  }
}

License

MIT © rinasm

Keywords

FAQs

Package last updated on 19 Oct 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc