tss-react
typesafe-i18n
Our great sponsors
tss-react | typesafe-i18n | |
---|---|---|
9 | 51 | |
558 | 2,092 | |
- | - | |
8.1 | 6.9 | |
4 days ago | 15 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
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.
tss-react
-
The french government's design system
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
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?
Real-life examples: 1, 2, 3
-
Gatsby JS — How to solve FOUC when using tss-react and Material UI v5
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.
-
What is everyone's go-to style framework/library right now?
You can still use makeStyles with tss-react, as documented here: https://mui.com/guides/migration-v4/#2-use-tss-react. I've used it and it seemed to work quite well.
- ✨ makeStyles is dead, long live makeStyles! ✨
- tss-react will be promoted as the new makeStyles API in material-ui v5
-
tss-react: Like JSS but with better typing. (integrates with MaterialUI)
tss-react
typesafe-i18n
-
Suggest Best Svelte Libraries
inlang: localization infrastructure for software and the next git (made by the inlang team and same author of the amazing typesafe-i18n library)
-
Detox for i18n
So I went to search and found https://github.com/ivanhofer/typesafe-i18n (1.6k stars). Seems great so far.
-
What localizations options are there for NextJS static export builds?
As far as I know `typesafe-i18n` works similiar to other solutions. The only difference is, that it does not include `next` in its package name ^^. There is an example in the docs that should cover the basic setup: https://github.com/ivanhofer/typesafe-i18n/tree/main/packages/adapter-react/examples/nextjs
-
i18n support is not compatible with next export.
You could try https://github.com/ivanhofer/typesafe-i18n, but I never tried it with "next export", so maybe you need to make additional adjustments.
-
[mauriciobraz/discord.ts-template] I created a template to create a Discord bot with type-safe and TypeScript localization support!
Fully type-safe support with typesafe-i18n.
-
SvelteKit and i18n - let's finally solve this never ending story
Maybe you can find an answer in this discussion: https://github.com/ivanhofer/typesafe-i18n/discussions/130
-
introducing code-first-i18n (internationalization)
Is TypealizR solving a similar problem like [typesafe-i18n](https://github.com/ivanhofer/typesafe-i18n) in the JS ecosystem?
-
i18n and i18next: What's the difference?
Typesafe-i18n
-
Is there any better alternative to i18n for internationalization?
shameless plug: sounds like you are looking for https://github.com/ivanhofer/typesafe-i18n
-
Managing translations
If you want to get really good `TypeScript` support for i18n, you should check out https://github.com/ivanhofer/typesafe-i18n :)
What are some alternatives?
Material UI - Ready-to-use foundational React components, free forever. It includes Material UI, which implements Google's Material Design.
SvelteKit - web development, streamlined
JSS - JSS is an authoring tool for CSS which uses JavaScript as a host language.
svelte-i18n - Internationalization library for Svelte
type-fest - A collection of essential TypeScript types
type-challenges - Collection of TypeScript type challenges with online judge
ts-ast-viewer - TypeScript AST viewer.
monorepo - globalization ecosystem && change control SDK
gatsby-plugin-material-ui - Gatsby plugin for Material-UI with built-in server-side rendering support
tolgee-js - Tolgee JavaScript libraries monorepo
styled - Minimal CSS-in-JS styled components solution for React.
Talkr - Talkr is the lightest i18n provider for React applications. It supports Typescript, provides autocompletion, has 0 dependencies, and is very easy to use.