imba VS svelte-preprocess

Compare imba vs svelte-preprocess 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)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
imba svelte-preprocess
45 23
6,230 1,709
0.1% 0.5%
9.5 5.9
7 days ago 15 days ago
JavaScript 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.

imba

Posts with mentions or reviews of imba. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-02.
  • Ask HN: What are some unpopular technologies you wish people knew more about?
    56 projects | news.ycombinator.com | 2 Dec 2023
    Imba. The best web programming language ever made.

    https://imba.io/

  • Portugal. The Man – Official Website Is a Google Sheets Document
    7 projects | news.ycombinator.com | 3 Nov 2023
    I agree. I was looking for the same thing.

    They’re not easy to create but side by side code/result demos like the ones I saw on https://imba.io/ make it very clear on what I’ll be getting into as a developer.

  • Imba – The friendly full-stack language
    1 project | /r/patient_hackernews | 25 Sep 2023
    6 projects | news.ycombinator.com | 23 Sep 2023
  • Clojure is a product design tool
    8 projects | news.ycombinator.com | 22 Jun 2023
  • Fore – Declarative user interfaces in plain HTML
    2 projects | news.ycombinator.com | 4 Jun 2023
  • Framework for a frontend-only project?
    5 projects | /r/Frontend | 15 Apr 2023
    You might get away with Svelte (not Sveltekit) here since it compiles down to javascript. Another fun framework to try out for this might be https://imba.io/, which also has an option to compile things down to pure HTML, CSS & JS (plus it’s very fun to work with).
  • Thoughts on Svelte
    15 projects | news.ycombinator.com | 27 Mar 2023
    I've been using Svelte exclusively for the past 3 years or so. I love it and will keep using it as my main solution for interactivity. It's fast to use and execute, produces small apps, and it's extremely economical in how you express components.

    The confusion the author expresses with $: reactive statements and store auto subscription with the $ are unwarranted IMO. It's really just a lack of familiarity but this kind of stuff becomes intuitive very quickly.

    My criticism of Svelte is rather that they haven't gone deep enough into the compiler-based approach.

    Would be great if there were something like .svelteStore files where you had all the automatic reactivity tracking without having to use a component. Or some kind of improvements into writing styles. With a compiler you can do anything you want and I think Svelte has been a bit timid, maybe to not scare people away.

    For example Imba[1] also bet on a compiler-based approach (years before Svelte existed) and created their own language/framework/compiler. They have come up with amazing solutions to many problems. It's a shame they bet on Ruby aesthetics though and also that they aren't investing into marketing/docs.

    Of course, one might argue that using a compiler is a bad idea for a number of reasons. And yeah of course there are objective issues to any approach, but you have to pick your poison. All in all, Svelte has made me tremendously productive compared to using other solutions for years (React, Vue, Mithril, Inferno, etc).

    I will say though that I would rather use a solution that doesn't have any reactivity at all. Mithril and Imba have this concept of just "redrawing the whole thing" like a game GUI without having to worry about reactivity. Cognitively speaking, no reactivity is the best mental model IMO. With any reactive solution, it's very easy to fall into complex reactive dependencies which can be hard to track. The author of Imba has a video from 2018 where he talks about this[2].

    [1] https://imba.io/

    [2] https://www.youtube.com/watch?v=jwoApTLvRdQ

  • The Io Language
    8 projects | news.ycombinator.com | 18 Mar 2023
    A code snippet showing a simple program right on the home page and "selling" whatever features makes it special would go a long way. It's quite off-putting to have to delve deep into a guide in order to get a feel for a language.

    Some examples done right:

    https://lfe.io

    https://elixir-lang.org

    https://imba.io

    https://ocaml.org

  • Why do so many CS grads seem to look down on webdev?
    2 projects | /r/webdev | 10 Jan 2023
    At the same time, my heart is kind of in the web stuff and I find it a lot more exciting personally so it's hard for me to leave. You can do so much more with web tech and all the new ideas Tcoming from it and the pace it's developing is really . I just don't understand why React is becoming the standard when it's a complete nightmare compared to where we should be. I mean, this is literally insane, especially when things like Svelte exist - or even better, Imba. The day Imba becomes the standard is the day I love web dev again.

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;

What are some alternatives?

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

js-framework-benchmark - A comparison of the performance of a few popular javascript frameworks

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

React - The library for web and native user interfaces.

style-resources - Style Resources for Nuxt 3

Tailwind CSS - A utility-first CSS framework for rapid UI development.

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

coffeescript - Unfancy JavaScript

sveltekit-blog-template - A SvelteKit blog template

htmx - </> htmx - high power tools for HTML

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

TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

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