svelte-i18n
vueuse
Our great sponsors
svelte-i18n | vueuse | |
---|---|---|
7 | 86 | |
1,164 | 18,626 | |
- | 2.1% | |
6.8 | 9.6 | |
about 2 months ago | 8 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.
svelte-i18n
-
React may be getting a new hook — useEvent
Yeah I'm just using svelte-18n
-
Beam your Svelte internationalization up to a new level
Make sure you have Node.js and npm installed. It's best, if you have some experience with simple HTML, JavaScript and basic Svelte, before jumping to svelte-i18n.
- Any issues with Svelte that can be a target of an open source project?
-
Best i18n library for SvelteKit?
There are some great i18n libraries which can be used together with SvelteKit, such as svelte-i18n, typesafe-i18n or svelte-intl-precompile. However, a month ago, I decided to create my own, modular and lightweight one, because i was missing some features like dynamic translations load (load translations for visited pages only), custom translation sources (e.g. external API) or component scoped translations, etc...
-
What about localization with Svelte/SvelteKit?
I had reasonable success with https://github.com/kaisermann/svelte-i18n in one of my pet projects.
- Been using Vue for years professionally love it. But Svelte looks so good... What would I miss from Vue if I converted to Svelte?
-
A solution to internationalize routing in Sapper
With the svelte-i18n library internationalization of a Svelte / Sapper apps has gotten a lot better, but there has been an omission in solutions for routing languages (despite long discussions). I would like to share our solution for making internationalized routing:
vueuse
-
Ask HN: Learn React or Vue?
My opinion: Vue, specifically the Vue 3 Composition API. Most of your app state should come from computed() values. Bookmark https://vueuse.org and come back to it often. Go through VueUse's source (the docs for each function link to their source): you'll be surprised at how simple most of it is, and it stands as documentation of best practices for using the composition API in general.
- Useful Vue Utils with VueUse
-
Implementing Tailwind CSS Dark Mode Toggle with No Flicker
Now, let’s talk about Vue! Once again, we’ll use an external library to handle dark mode simply and quickly. In this case, the library is called VueUse, and you can install it using the command npm i @vueuse/core --save.
-
useHooks – A collection of Server Component safe React Hooks
Great library. Could use some improvements as said by other (tree shaking, add jsdocs, etc…). Just a quick reminder for the vuejs devs out there we have https://vueuse.org/
-
UseHooks – A Collection of Server Component Safe React Hooks
Yeah, I figured useHooks was created without knowing about VueUse, but thought they might have become aware of it sense then. It makes sense, because though the code is heading in the direction of VueUse in terms of being maintained and well rounded, the structure of useHooks is quite a bit different. It has the code alongside the Markdown: https://github.com/vueuse/vueuse/tree/main/packages/integrat...
- VueUse Full Screen issue
-
Sending notifications to the browser from Vue?
Demo: https://github.com/vueuse/vueuse/blob/main/packages/core/useWebNotification/demo.vue
-
First Time at Vue
Also take a look at https://vueuse.org/ which might save you some lines :)
- Composition API vs. Options API
-
Why isn’t everyone using <script setup>?
For what it's worth my timeframe is very similar to yours! Started in 2019, no React / Angular. I think looking at great codebases like [VueUse](https://github.com/vueuse/vueuse) shows off the best of composition API.
What are some alternatives?
typesafe-i18n - A fully type-safe and lightweight internationalization library for all your TypeScript and JavaScript projects.
svelte-actions - prototype official actions for Svelte
headlessui - Completely unstyled, fully accessible UI components, designed to integrate beautifully with Tailwind CSS.
vue-composable - Vue composition-api composable components. i18n, validation, pagination, fetch, etc. +50 different composables
jsLingui - 🌍 📖 A readable, automated, and optimized (3 kb) internationalization for JavaScript
react-select - The Select Component for React.js
svelte-preprocess - A ✨ magical ✨ Svelte preprocessor with sensible defaults and support for: PostCSS, SCSS, Less, Stylus, Coffeescript, TypeScript, Pug and much more.
vuex - 🗃️ Centralized State Management for Vue.js.
svelte-intl-precompile - I18n library for Svelte.js that analyzes your keys at build time for max performance and minimal footprint
vitesse - 🏕 Opinionated Vite + Vue Starter Template
buefy - Lightweight UI components for Vue.js based on Bulma
Quasar Framework - Quasar Framework - Build high-performance VueJS user interfaces in record time