Registry / productivity / lou-rollup-react-library

lou-rollup-react-library

JSON →
library0.1.17jsnpmunverified

A React component library boilerplate using Rollup, TypeScript, Storybook, and Jest. Version 0.1.17, released April 2023, and not actively maintained. Provides a template for building modern React libraries with bundling to commonjs and es module formats, CSS/SASS support, and complicated peer dependencies like Antd. Differentiates from tsup, tsdx, or microbundle by focusing on Rollup configuration and learning purposes.

npm install lou-rollup-react-library
INSTALL
IMPORT
SIG · LOU-ROLLUP-REACT-L
L
lou-rollup-react-library
productivityjavascriptv0.1.17
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default
import MyComponent from 'lou-rollup-react-library'
const MyComponent = require('lou-rollup-react-library')
Library exports a default component (unnamed in README). CJS require works but TypeScript prefers ESM.
Button
import { Button } from 'lou-rollup-react-library'
import Button from 'lou-rollup-react-library'
Named export for Button component. Default import gives different component.
Input
import { Input } from 'lou-rollup-react-library'
Named export, also available.

Shows how to import and use the default exported component from the library in a React app.

import React from 'react'; import MyComponent from 'lou-rollup-react-library'; const App = () => ( <div> <MyComponent /> </div> ); export default App;
Debug
Known issues
deprecatedPackage is no longer actively maintained since April 2023.
fix
Consider alternatives like tsup or tsdx for new projects.
affects: >=0.1.17
gotchaPeer dependency antd@4.24.3 is a specific version; newer antd v5 may break.
fix
Install antd@4.24.3 exactly with npm install antd@4.24.3.
affects: >=0.1.0
gotcharequires React >=16.8.0 (hooks) and react-router-dom ^5.2.0.
fix
Ensure project uses React 16.8+ and react-router-dom 5.x.
affects: >=0.1.0
Errors
Common errors & fixes
Error: Cannot find module 'antd'
Missing peer dependency antd.
fix
Run npm install antd@4.24.3 --save-peer or add to package.json.
TypeError: Cannot read properties of undefined (reading 'createElement')
React not installed or version mismatch.
fix
Install react@>=16.8.0 and react-dom@>=16.8.0.
Upgrade
Version history
0.1.17latest on npm
Audit
Dependencies
antdoptionalPeer dependency for UI components
reactrequiredPeer dependency
react-domrequiredPeer dependency
react-router-domoptionalPeer dependency for routing
@zoom/videosdkoptionalPeer dependency for Zoom video SDK
Agent activity
9 hits · last 30 days
node
8
OpenAI (training)
1
Resources
lou-rollup-react-library — npm install lou-rollup-react-library · libregistry