type-fest VS tss-react

Compare type-fest vs tss-react and see what are their differences.

type-fest

A collection of essential TypeScript types (by sindresorhus)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
type-fest tss-react
32 9
13,079 553
- -
9.0 8.1
4 days ago 7 days ago
TypeScript TypeScript
Creative Commons Zero v1.0 Universal MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

type-fest

Posts with mentions or reviews of type-fest. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-30.

tss-react

Posts with mentions or reviews of tss-react. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-20.
  • The french government's design system
    8 projects | /r/reactjs | 20 Jan 2023
    What I meant is that the lib provides the tooling to do CSS-in-JS if you so choose. But it's not at all mandatory. There is a fully type safe class system you can rely on. Internally no CSS-in-JS is used. I personally do love CSS-in-JS (I'm the author of TSS) but I understand the case against it.
  • A Type-safe i18n library
    9 projects | /r/reactjs | 9 Jun 2022
    I'm not big on splitting things in neat little modules. Before we had logic.js structure.htm, styles.css then React suggested that logic and structure should be in the same file, it was the right move. Styles, in my oppignion, should be done in JS as well as well. I think that queries shouldn't be mangled with the UI stuffs.
  • How to Troubleshoot Types?
    6 projects | /r/typescript | 30 Jan 2022
    Real-life examples: 1, 2, 3
  • Gatsby JS — How to solve FOUC when using tss-react and Material UI v5
    4 projects | dev.to | 29 Jan 2022
    Material UI v5 brought some amazing updates, but switching from JSS to Emotion had an arguably nasty side-effect: it was no longer as straightforward to group your component styles in classes. Fortunately, a fantastic library emerged that allowed developers to not only reduce the extreme pain from migrating all their classes from v4's makeStyles to emotion, but to also to continue to writing classes in practically the same syntax, with wonderful TS type-safety. This library was tss-react, and it was one of my favorite open source discoveries of 2021.
  • ✨ makeStyles is dead, long live makeStyles! ✨
    3 projects | /r/reactjs | 10 Oct 2021
  • tss-react will be promoted as the new makeStyles API in material-ui v5
    2 projects | /r/typescript | 21 Jul 2021

What are some alternatives?

When comparing type-fest and tss-react you can also consider the following projects:

Material UI - Ready-to-use foundational React components, free forever. It includes Material UI, which implements Google's Material Design.

JSS - JSS is an authoring tool for CSS which uses JavaScript as a host language.

ts-toolbelt - 👷 TypeScript's largest type utility library

runtypes - Runtime validation for static types

zod - TypeScript-first schema validation with static type inference

ts-essentials - All essential TypeScript types in one place 🤙

variant - Variant types in TypeScript

TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

io-ts - Runtime type system for IO decoding/encoding

fp-ts - Functional programming in TypeScript

utilities - Repository of utilities for deno written in typescript for trailmix🌤🦕🍣😼

io-ts-types - A collection of codecs and combinators for use with io-ts