tss-react
simplelocalize-cli
tss-react | simplelocalize-cli | |
---|---|---|
9 | 30 | |
559 | 55 | |
- | - | |
8.1 | 8.6 | |
6 days ago | 19 days ago | |
TypeScript | Java | |
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
simplelocalize-cli
- How do you deal with internationalisation (i18n) in your app?
-
Is it worth the effort occommodating multiple languages in your game?
shamless plug You can use my app for that, it doesn’t require monthly subscription. 😉
-
A Type-safe i18n library
In favor of typesafe-i18n: - Offers an option for asynchronous loading of locales. It's in the roadmap for i18nifty but as of today it doesn't features it. - It's lighter 1.3Kb vs 22Kb for i18nifty (I could work on reducing the size but it isn't high in my priorities). - Support third party localisation services such as https://locize.com/ https://lokalise.com/ or https://simplelocalize.io/.
-
How to translate NextJS app with next-i18next?
NextJS, a well-known framework among React developers, provides multiple libraries that create a very developer-friendly environment. The most popular ones are i18Next, next-translate and, our main focus in this blog post, next-18next, a translation library that does a fantastic job helping in translation management. The following blog post will show you how to set up next-i18n in your NextJS app and manage translations with SimpleLocalize. Take a look at our demo app for the reference.
-
Code base in my last company
own SaaS my salary is now higher than before 😌
-
Translating (localizing) my web app in 107 languages - insights
I know the advantage of this approach is that you can do it for free, but in general you could also use something like SimpleLocalize (I’m the author, backend uses Spring and Java 18😎) You can keep translations there, auto-translate and host them on CDN. In my approach, the cool thing is that you can fix the incorrect auto-translated texts in the editor. It supports DeepL and Google Translate, there is a free forever plan and free 14-day trial.
-
AoE IV Stats is now available in 15 languages (and show more data)
Wow, that’s great! I was thinking that you used some kind of software like SimpleLocalize to use auto-translation. :)
-
Internalization in Spring Boot Strategy
Don’t implement it on your own. Use something like SimpleLocalize and use their REST API and CDN. Client will have a nice panel to edit/change translations and you will get a nice API to fetch translated content.
- Tell HN: A Conversation Needs to Be Had over Subscription Software
- Number formatting in JavaScript
What are some alternatives?
Material UI - Ready-to-use foundational React components, free forever. It includes Material UI, which implements Google's Material Design.
lowdefy - The config web stack for business apps - build internal tools, client portals, web apps, admin panels, dashboards, web sites, and CRUD apps with YAML or JSON.
JSS - JSS is an authoring tool for CSS which uses JavaScript as a host language.
react-atellier - The smartest way to share interactive components with your team.
type-fest - A collection of essential TypeScript types
mighty-react-snippets - Crafty React & Redux snippets for Atom Editor
ts-ast-viewer - TypeScript AST viewer.
component-controls - A next-generation tool to create blazing-fast documentation sites.
gatsby-plugin-material-ui - Gatsby plugin for Material-UI with built-in server-side rendering support
React PWA - An upgradable boilerplate for Progressive web applications (PWA) with server side rendering, build with SEO in mind and achieving max page speed and optimized user experience.
tsafe - 🔩 The missing TypeScript utils
react-styleguidist - Isolated React component development environment with a living style guide