
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
A lightweight React component for joining multiple components in a grammatically correct way.
A lightweight React component for joining multiple components in a grammatically correct way. Joins components using commas, "and", "&", "or", or any other term you specify.
Written in Typscript with zero dependencies.
yarn add react-and
npm install --save react-and
ReactAnd accepts any number of children and will render them with the correct grammar.
<ReactAnd>
{[
'apples',
'oranges',
'bananas',
]}
</ReactAnd>
Renders as:
apples, oranges, and bananas
You can pass any valid React components as children:
<ReactAnd>
<a href="/apples">apples</a>
<a href="/oranges">oranges</a>
</ReactAnd>
Renders as:
<a href="/apples>apples</a> and <a href="/oranges">oranges</a>
conjuctionThis is the string to be used to join the last child when there is more than one child. Default: "and".
<ReactAnd conjuction="and/or">
{[
'apples',
'oranges',
]}
</ReactAnd>
Renders as:
apples and/or oranges
oxfordCommaDetermines whether an Oxford comma will be used when joining the items. Default: true.
<ReactAnd oxfordComma={false}>
{[
'apples',
'oranges',
'bananas',
]}
</ReactAnd>
Renders as:
apples, oranges and bananas
https://lhansford.github.io/react-and/
Licensed under MIT.
FAQs
A lightweight React component for joining multiple components in a grammatically correct way.
The npm package react-and receives a total of 20 weekly downloads. As such, react-and popularity was classified as not popular.
We found that react-and 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
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.