
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
@table-library/react-table-library
Advanced tools
Project Setup:
create-react-app my-app
cd my-app
touch .npmrc
Copy the content of this proejct's .npmrc.azure file to your project's .npmrc and enter your credentials (password etc.) in this file for the placeholders.
Then on command line:
npm install @table-library/react-table-library
In your global CSS:
html {
font-size: 1px;
}
body {
font-size: 14rem;
}
And last but not least, in one of your React components:
import React from 'react';
import { Atoms } from '@table-library/react-table-library';
const { ContentButtonPrimary } = Atoms;
const App = () => {
return (
<div>
<ContentButtonPrimary label="Click me" />
</div>
);
};
export default App;
You are ready to go.
Keep the bundle size small with relative imports:
// imports the whole library
import { Atoms } from '@table-library/react-table-library';
// imports all Atoms from the library
import { ContentButtonPrimary } from '@table-library/react-table-library/lib/Atoms';
// imports only the component and its dependencies
import ContentButtonPrimary from '@table-library/react-table-library/lib/ContentButtonPrimary';
// same goes for icons
// which is why its better to import them directly
// instead of importing all icons at once
import IconCockpit from '@table-library/react-table-library/lib/IconCockpit';
Setup:
git@github.com:table-library/react-table-library.git
npm install
Run Storybook:
npm run storybook:dev
Build Storybook:
npm run storybook:build
npx http-server dist/
Build Library:
npm run library:build
Run Tests:
npm test
npm run test:watch
make loki:test
make loki:update
FAQs
react-table-library
The npm package @table-library/react-table-library receives a total of 15,985 weekly downloads. As such, @table-library/react-table-library popularity was classified as popular.
We found that @table-library/react-table-library demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.