A zsh function to fire up a local @sveltejs app. Literally takes 3 seconds (after first-run cache). Thx @pnpmjs
new-svelte(){
degit sveltejs/template "$1"
cd "$1"
pnpm install
code . -g src/App.svelte
open -a "Google Chrome" http://localhost:5000
pnpm run dev
}
Hi, @Rich_Harris! I'm using @vuejs a lot to build neat UX in my WordPress plugins. Is there a way to use @sveltejs within WordPress plugins? I'm learning it right now, and it's AWESOME 😎
Hey! 👋
Do you have 5 minutes (yes, you do) and would like to learn the basics of @sveltejs? 🤩
My TL is full of tweets praising @sveltejs and if you'd like to check what the hype is all about - take a look at this quick @eggheadio playlist I've created
egghead.io/playlists/getting…
Svelte is the first framework that I've used since picking up React that genuinely blew me away. In this example, writing an app in Svelte was a lot easier than writing an app in React. YMMV.
"Zero Config, yet Technology Agnostic: How Netlify Dev Detectors Work", on the @Netlify blog
A look at how Netlify Dev detects, runs and enhances your SSG during your development as @swyx adds a detector for @sveltejs.
netlify.com/blog/2019/04/24/…
I'm quite liking @sveltejs stores. Makes it easy to import (and subscribe) to state in your components, without much need for prop drilling at all. Here is a little hash router where the route:
/#/posts/123
would result in state of:
["posts", "123"]
(And it's reactive of course)
As of 3.1.0, Svelte supports RxJS (and compatible, including the proposed TC39 standard) observables out of the box: svelte.dev/repl?version=3.1.…
Many thanks to @BenLesh and @JohnLindquist for making this happen! More examples and docs to follow soon
Just went through a period of crucial React optimizations, still having mixed performance. @sveltejs 3.0 appears and I wish the dev community would just shift over night. This is mind-bogglingly nice to work with.
Just published 3.0.1, the first post-v3 release. Many thanks to all the contributors, and a warm welcome to all the new faces — it's great to have you on board. Some more PRs to merge soon, but for now, changelog: github.com/sveltejs/svelte/b…