Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
tss-react
Advanced tools
Readme
✨ Dynamic CSS-in-TS solution, based on Emotion ✨
Home - Documentation - Playground
You can think of tss-react
as @emotion/jss
.
It's, in essence, a type-safe equivalent of the JSS API but powered by Emotion,
just like @emotion/styled
is the styled-components API but powered by Emotion.
$
syntax.@emotion
cache.withStyles
API featured, to help you migrate away from @material-ui v4.@emotion/react
, it has very little impact on the bundle size alongside mui (~5kB minziped).'tss-react'
can be used as an advantageous replacement for @material-ui v4 makeStyles
and 'react-jss'
.tss-react
won’t be yet another entry in your peerDependencies
.While this module is written in TypeScript, using TypeScript in your application is optional (but recommended as it comes with outstanding benefits to both you and your codebase).
The more ⭐️ the project gets, the more time I spend improving and maintaining it. Thank you for your support 😊
Needless to mention, this library is heavily inspired by JSS, the OG CSS-in-JS solution.
Running the demo apps:
git clone https://github.com/garronej/tss-react
cd tss-react
yarn
yarn build
npx tsc -w & npx tsc --module es2015 --outDir dist/esm -w
# Open another Terminal
yarn start_spa # For testing in in a Create React App setup
yarn start_ssr # For testing in a Next.js setup
yarn start_appdir # Next.js 13 setup in App directory mode
FAQs
Type safe CSS-in-JS API heavily inspired by react-jss
The npm package tss-react receives a total of 171,172 weekly downloads. As such, tss-react popularity was classified as popular.
We found that tss-react 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.