🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@ied/react-free-dom

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ied/react-free-dom

The goal of this library is to render only what is visible to the user, this will superpower app like huge list, image gallery ...

latest
npmnpm
Version
1.0.2
Version published
Maintainers
2
Created
Source

Purpose

The goal of this library is to render only what is visible to the user, this will superpower app like huge list, image gallery ...

Example

import React from 'react'
import { Range } from '@ied/react-free-dom'
import { renderPDF } from '@ied/pdf'

function renderer(pages) {
  pages.forEach(({ element, index }) => {
    renderPDF(element, index)
  })
}

export default function App() {
  return (
    <Range
      renderer={renderer}
      itemHeight={500}
      numberOfItems={10}
      renderKey={1234}
    />
  )
}

FAQs

Package last updated on 12 Mar 2021

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