
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
@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 17,414 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.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.