Press J to jump to the feed. Press question mark to learn the rest of the keyboard shortcuts
Log In
Found the internet!
Posts
Communities

Posts about Svelte

r/svelte
368 members
Cybernetically enhanced web apps
Visit
Subreddit Icon
r/sveltejs
27.4k members
Svelte is a radical new approach to building user interfaces. Whereas traditional frameworks like React and Vue do the bulk of their work in the browser, Svelte shifts that work into a compile step that happens when you build your app. Instead of using techniques like virtual DOM diffing, Svelte writes code that surgically updates the DOM when the state of your app changes.
Visit
Subreddit Icon
r/webdev
1.8m members
A community dedicated to all things web development: both front-end and back-end. For more design-related questions, try /r/web_design.
Visit
Subreddit Icon
r/SvelteKit
2.5k members
It's a framework for building apps with Svelte, complete with server-side rendering, routing, code-splitting for JS and CSS, adapters for different serverless platforms and so on. If you're familiar with , SvelteKit is Sapper's successor.
Visit
Subreddit Icon
r/reactjs
358k members
A community for discussing anything related to the React UI framework and its ecosystem. Join the Reactiflux Discord ( https://www.reactiflux.com ) for additional React discussion and help.
Visit
Subreddit Icon
r/rust
248k members
A place for all things related to the Rust programming languageโ€”an open-source systems language that emphasizes performance, reliability, and productivity.
Visit
r/LearnSvelte
130 members
A subreddit for learning Svelte JS! Tutorials, tips, tricks, explanations, and more.
Visit
Subreddit Icon
r/programming
5.6m members
Computer Programming
Visit
r/Frontend
225k members
/r/frontend is a subreddit for front end web developers who want to move the web forward or want to learn how. If you're looking to find or share the latest and greatest tips, links, thoughts, and discussions on the world of front web development, this is the place to do it.
Visit
Subreddit Icon
r/ProgrammerHumor
3.1m members
For anything funny related to programming and software development.
Visit
Subreddit Icon
r/vuejs
96.0k members
Vue.js is a library for building interactive web interfaces. It provides data-reactive components with a simple and flexible API.
Visit
Subreddit Icon
r/learnjavascript
232k members
This subreddit is for anyone who wants to learn JavaScript or help others do so. Questions and posts about frontend development in general are welcome, as are all posts pertaining to JavaScript on the backend.
Visit
r/tailwindcss
13.6k members
Everything about https://tailwindcss.com/ Find Tailwind Code Snippets: https://pagesnips.io
Visit
Subreddit Icon
r/solidjs
2.8k members
The Reactive User Interface Library
Visit
Subreddit Icon
r/Chonkers
657k members
http://redd.it/1476ioa
Visit
Subreddit Icon
r/golang
216k members
Ask questions and post articles about the Go programming language and related tools, events etc.
Visit
Subreddit Icon
r/laravel
78.5k members
Laravel is a free and open-source PHP web framework created by Taylor Otwell. Laravel features expressive, elegant syntax - freeing you to create without sweating the small things.
Visit
Subreddit Icon
r/sveltenative
113 members
Svelte Native is a new approach to building mobile applications using NativeScript. Where other JavaScript mobile development frameworks like React Native and NativeScript-Vue do the bulk of their work on the mobile device, Svelte Native shifts that work into a compile step that happens when you build your app. Instead of using techniques like virtual DOM diffing, Svelte writes code that surgically updates the native view widgets when the state of your app changes.
Visit
Subreddit Icon
r/elixir
26.5k members
Subreddit for the Elixir programming language, a dynamic, functional language designed for building scalable and maintainable applications. Learn more at https://elixir-lang.org.
Visit
Subreddit Icon
r/rails
58.1k members
[locked down for API protest] A subreddit for discussion and news about Ruby on Rails
Visit
Subreddit Icon
r/neovim
62.8k members
Neovim is an hyperextensible Vim-based text editor. Learn more at neovim.io.
Visit
r/ThinisWin
119 members
A safe space for svelte people.
Visit
Subreddit Icon
r/Zeekr
58 members
GEELY in March 2021 announced plans for a new brand specializing in premium electric vehicles called Zeekr (Ji Ke in China), the brand has now revealed its first model, a svelte hot hatch simply called the 001. It made its world debut at Auto Shanghai 2021.
Visit
Subreddit Icon
r/Angular2
65.2k members
Angular is Google's open source framework for crafting high-quality front-end web applications. r/Angular2 exists to help spread news, discuss current developments and help solve problems. Welcome!
Visit
Subreddit Icon
r/django
115k members
News and links for Django developers.
Visit
Subreddit Icon
r/nba
8.2m members
A community for NBA discussion.
Visit
r/astrojs
522 members
Astro is a new kind of static site builder that delivers lightning-fast performance with a modern developer experience - Build your site using React, Svelte, Vue, Preact, web components, or just plain olโ€™ HTML + JavaScript. - 100% Static HTML, No JS: Astro renders your entire page to static HTML, removing all JavaScript from your final build by default. - On-Demand Components: Need some JS? Astro can automatically hydrate interactive components when they become visible
Visit
Subreddit Icon
r/ethdev
103k members
Ethereum-related dev talk: Contracts, DApps, Wallets, Clients, Infrastructure, Tooling, UIs, Patterns, and others.
Visit
Subreddit Icon
r/tsParticles
21 members
tsParticles - Easily create highly customizable JavaScript particles effects, confetti explosions and fireworks animations and use them as animated backgrounds for your website. Ready to use components available for React.js, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Inferno, Solid, Riot and Web Components.
Visit
1.2k
Subreddit Icon
โ€ขPosted by9 months ago
Post image
1.2k
561 comments
454
454
267 comments
1.1k
Subreddit Icon
โ€ขPosted by7 months ago
Archived
Post image
1.1k
140 comments
250
250
173 comments
623
623
237 comments
1.7k
Subreddit Icon
โ€ขPosted by2 years ago
Post image
1.7k
134 comments
35
Subreddit Icon
โ€ขPosted by2 months ago
35
192 comments
46
Subreddit Icon
โ€ขPosted by12 days ago

Queue the downvotes, lol

But yeah dove super deep into Svelte and at first it seems super nice at first, BUT 3 big issues made me leave.

  1. Poor TypeScript Support - especially with Discriminating Unions. (Had to do some crazy hacks, even when I thought it worked, it turns out the intellisense doesn't work well at all when using the components.), Had to change my component API in an unergonomic fashion, and still doesn't work well. I use this pattern everywhere in my design system in React. Even besides this, typing is just very unintuitive. With React just make interface or type and just destructure in function parameter.

  2. Doesn't play well with TurboRepo (monorepo) - Apparently, import alias aren't possible with shared UI package and actually need to designate alias in consuming package (but that defeats the point, as the consuming package now needs to reach over its own boundary for type aliasing).

  3. Single component per file - https://github.com/sveltejs/svelte/issues/2940, I thought Svelte would reduce LOC, but turns out I have to create an entirely new component file just to store titleMarkup (should only be used by that component). In React, I just assign that simple markup to a variable within the main component. That titleMarkup component, then takes a single prop of title...Title markup too complex to put in main markup, but too simple to keep in its own file. I also had to create another component, if I just wanted to avoid markup duplication based on conditionals (In react, just assign this markup to a variable).

This didn't make me leave, but was a huge pain: Everything being defaulted export. VSCode always takes the default export path. Which is very long. I have to manually switch everything to be a named export so I get short import path.

Shame...really put in over 2 weeks deeply into Svelte. Now I have to be back in React land...Transitions in Svelte are nice though lol

46
129 comments