svelte-preprocess VS houdini

Compare svelte-preprocess vs houdini and see what are their differences.

svelte-preprocess

A ✨ magical ✨ Svelte preprocessor with sensible defaults and support for: PostCSS, SCSS, Less, Stylus, Coffeescript, TypeScript, Pug and much more. (by sveltejs)

houdini

The disappearing GraphQL client (by HoudiniGraphql)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
svelte-preprocess houdini
23 6
1,705 859
1.1% 2.1%
5.7 8.9
11 days ago 3 days ago
TypeScript TypeScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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-preprocess

Posts with mentions or reviews of svelte-preprocess. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-13.
  • How to use Sass or Scss in Svelte/Sveltekit
    1 project | dev.to | 13 Jan 2024
    You can learn more about the official svelte-preprocess and other available config here
  • How does the Svelte compiler works with the Typescript compiler?
    2 projects | /r/sveltejs | 13 Feb 2023
    svelte-preprocess is responsible for processing things like TypeScript and SCSS. The svelte compiler itself is only responsible for turning the svelte file into JavaScript.
  • Sveltekit scss issue
    2 projects | /r/sveltejs | 9 Jan 2023
    svelte-preprocess should handle scss out-of-the-box, and it’s included in SvelteKit by default if you created your project with create-svelte
  • Create Svelte + Typescript + tailwindcss Project(feat. error solved)
    1 project | dev.to | 2 Dec 2022
    // svelte.config.js import sveltePreprocess from 'svelte-preprocess' export default { // Consult https://github.com/sveltejs/svelte-preprocess // for more information about preprocessors // **here -> postcss: true** preprocess: sveltePreprocess({ postcss: true, }) }
  • SvelteKit adapter-static building a index.html without metatags and html inside JS files
    1 project | /r/sveltejs | 6 Aug 2022
    /** @type {import('@sveltejs/kit').Config} */ const config = { // Consult https://github.com/sveltejs/svelte-preprocess // for more information about preprocessors preprocess: preprocess({ typescript: true, postcss: true, scss: { prependData: @import 'src/styles/helpers/functions.scss'; } }), kit: { paths: { assets: '', base: dev ? '' : '/route/in/website' }, trailingSlash: 'always', adapter: adapter({ pages: 'build', assets: 'build', fallback: 'index.html' }), files: { hooks: 'src/hooks', }, prerender: { default: true, }, } };
  • Any way to make Svelte look and feel like Vue?
    1 project | /r/sveltejs | 24 Jun 2022
  • How to use autoprefixer and scss together in SvelteKit?
    1 project | /r/sveltejs | 20 Jun 2022
    Continue to use tags
  • In svelte.config.js ... (import aliases can be whatever you want)
    1. import svelte_preprocess from 'svelte-preprocess'
    2. import autoprefixer from 'autoprefixer'
    3. pass the Svelte preprocessor to Kit's preprocess config option and pass the postcss plugin to that Svelte preprocessor:
  • svelte.config.js

    import svelte_proprocess from 'svelte-process'
    import autoprefixer from 'autoprefixer'
    
    const config = {
        // Consult https://github.com/sveltejs/svelte-preprocess for more info
        preprocess: [
            svelte_preprocess({
                postcss: {
                    plugins: [autoprefixer()]
                }
            })
        ]
    }
    
  • Attempting to add math rendering to mdsvex, but encountering an error
    1 project | /r/sveltejs | 22 May 2022
    import adapter from '@sveltejs/adapter-auto'; import preprocess from 'svelte-preprocess'; import { mdsvex } from 'mdsvex'; import remarkMath from 'remark-math'; import rehypeKatex from 'rehype-katex-svelte'; /** @type {import('@sveltejs/kit').Config} */ const config = { extensions: ['.svelte', '.svx', '.md'], // Consult https://github.com/sveltejs/svelte-preprocess // for more information about preprocessors preprocess: [ preprocess(), mdsvex({ extensions: ['.svx', '.md'], smartypants: true, layout: { project: "./src/routes/projects/layout.svelte", post: "./src/routes/blog/layout.svelte", }, remarkPlugins: [remarkMath], rehypePlugins: [rehypeKatex], }), ], kit: { adapter: adapter({ edge: false, external: [], split: false }) } }; export default config;
  • PostCSS- NESTED --- How can i use it inside a component
    3 projects | /r/sveltejs | 27 Apr 2022
    Have you tried https://github.com/sveltejs/svelte-preprocess
  • Creating your first Svelte App with SvelteKit
    1 project | dev.to | 24 Feb 2022
    // We have changed the adapter line to use adapter-node@next import adapter from '@sveltejs/adapter-node@next'; import preprocess from 'svelte-preprocess'; /** @type {import('@sveltejs/kit').Config} */ const config = { // Consult https://github.com/sveltejs/svelte-preprocess // for more information about preprocessors preprocess: preprocess(), kit: { // We have changed this to point to a build directory adapter: adapter({ out: 'build' }) } }; export default config;

houdini

Posts with mentions or reviews of houdini. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-18.
  • How can I do auth with URQL
    1 project | /r/sveltejs | 28 Jun 2023
    Other random input. Maybe take a look at houdini. https://github.com/HoudiniGraphql/houdini
  • SvelteQuery vs KitQL vs others
    4 projects | /r/sveltejs | 18 Aug 2022
    Full disclosure: I'm the author of KitQL & maintainer of Houdini I've been in the GraphQL ecosystem for a long time and love it. I discovered Svelte early 3.0 and directly opt-in SvelteKit at the very beginning. I've tried different approaches with codegen Apollo & urql. Helping developing graphql-codegen-svelte-apollo at first then urql-svelte-operations-store. Contributing / creating / maintaining open source is something I like to do to build a friendly community around similar stacks. Then gQuery came out and took a radical new approach to things in a great way. I was hyped about it, especially for the simplicity and SSR out of the box. I believe that multiple projects bring new ideas to the community, which is awesome. It's here that I created KitQL to unlock some options that I need for my customers (Yes, I don't do only open source ^^). My aim with KitQL is to focus on two things: 1/ Embrace the community. To build something with others that satisfies many use cases. 2/ Build a full stack GraphQL on SvelteKit. Client + Server, using all powerful tools from The Guild. Thx to the community; we get to speak with amazing people, and I got the chance to talk with the Houdini author. After a few conversations, we decided to join forces. KitQL Client had a few issues that will be complicated to solve: no normalized cache, prefetch cannot work, leaks in SSR... to name a few. So I deleted KitQL Client in favor of using Houdini. KitQL is now focused on the backend part and module development (but it's not the topic here). Houdini has significantly evolved in the last months to bring KitQL flow inside + keep all its benefits! I think that it has a unique DX matching a lot of different styles of programming. You want your GraphQL operations in a separate file? Inside your Svelte componennt? You want Houdini to generate some boilerplate to focus only on your business logic? You want Houdini to create magic fragments to insert into a list automatically after a mutation? Houdini got you covered! And you know what? With the new '+page.svelte' directory structure, Houdini will go to another level!!! In a few days, we will merge a PR that will improve even more the DX and will be sooo integrated with the new SvelteKit changes. //I'm so excited about it. Come and check #BuildInPublic https://github.com/HoudiniGraphQL/houdini As you could read, the most important is the community, so thank you!
  • Svelte GraphQL Resources
    3 projects | dev.to | 14 Mar 2022
    Repository
  • GraphQL and SvelteKit
    2 projects | /r/sveltejs | 5 Nov 2021
  • Building an Application with GraphQL and SvelteKit
    1 project | dev.to | 29 Jul 2021
    So, you've decided to build an application with two of the most hyped projects in our community (SvelteKit and GraphQL, in case you didn't read the title). After browsing the internet for a bit, you've probably ran into various posts showing how to send a query in Kit's load and use it to populate the cache driving one of the more common GraphQL libraries. If you're like me, it probably left you with a bit of an unsatisfying feeling. GraphQL was supposed to reduce the amount of boilerplate necessary to build a user interface, right? Surely there's a way to pull this off without all that ceremony. Well, in this blog post I'll introduce you to houdini, a new GraphQL client I've been working on that's built for SvelteKit. Hopefully by the end of this you'll agree that it dramatically reduces the overhead of building a GraphQL application with SvelteKit.
  • Houdini - The "disappearing" Svelte GraphQL client with support for Sapper and Sveltekit
    1 project | /r/sveltejs | 26 Feb 2021

What are some alternatives?

When comparing svelte-preprocess and houdini you can also consider the following projects:

vite - Next generation frontend tooling. It's fast!

sveltekit-graphql-fetch - SvelteKit GraphQL queries using fetch only: how you can drop Apollo client and urql dependencies altogether to make your Svelte app leaner.

style-resources - Style Resources for Nuxt 3

urql - The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.

postcss-preset-env - Convert modern CSS into something browsers understand

focus-svelte - focus lock for svelte

sveltekit-blog-template - A SvelteKit blog template

trpc-sveltekit - End-to-end typesafe APIs with tRPC.io for your SvelteKit applications.

svelte-vite-jest-template - Svelte template based on Vite's Svelte template, but includes unit testing setup (Jest and Svelte Testing Library).

SvelteKitAuth - Authentication library for use with SvelteKit featuring built-in OAuth providers and zero restriction customization! [Moved to: https://github.com/Dan6erbond/sk-auth]

postcss-nested - PostCSS plugin to unwrap nested rules like how Sass does it.

gQuery - Not like jQuery. A GraphQL Fetcher & Cache for Svelte Kit