Giter Club home page Giter Club logo

Comments (9)

estubmo avatar estubmo commented on May 26, 2024 3

I know it doesn't solve the issue for those who want to keep using ESlint and Prettier, but I moved to Biome.js and it's much, much more performant. There's even starter repo for it here: https://github.com/rajatsandeepsen/t3-turbo-biome

from create-t3-turbo.

juliusmarminge avatar juliusmarminge commented on May 26, 2024 2

I know it doesn't solve the issue for those who want to keep using ESlint and Prettier, but I moved to Biome.js and it's much, much more performant. There's even starter repo for it here: https://github.com/rajatsandeepsen/t3-turbo-biome

thinking about migrating. anything you are missing from ESLint+Prettier?

Typed linting

from create-t3-turbo.

juliusmarminge avatar juliusmarminge commented on May 26, 2024

Can you try if something's like this works for you? juliusmarminge/acme-corp#225

from create-t3-turbo.

dBianchii avatar dBianchii commented on May 26, 2024

I also have terrible vscode performance. It's crazy how deep these inferences get.

from create-t3-turbo.

andrewdoro avatar andrewdoro commented on May 26, 2024

@juliusmarminge tried implementing the changes here, but I get the following errors from @acme/api. It also doesn't really improve something.
Screenshot 2024-03-21 at 14 24 31

https://github.com/tabtick/tabtick/pull/16/files

Do you think that this slowdown is caused by zod? Would it be an alternative to use typebox or another library for validation.

from create-t3-turbo.

juliusmarminge avatar juliusmarminge commented on May 26, 2024

Probably because Biome doesnt have rules that require type information.

from create-t3-turbo.

andrewdoro avatar andrewdoro commented on May 26, 2024

@juliusmarminge implementing your recommendation seems to have helped a lot. I've split the @acme/api in two packages:

  • @acme/base where routes are defined and tsc -w command is running
  • @acme/api where the appRouter is created and then re-exported to client

I am still not sure if drizzle was the culprit, I am seeing .dts file of 3000 lines >.

//Also added declarationMap:true so I can still navigate directly to the router.
https://github.com/tabtick/tabtick/pull/16

from create-t3-turbo.

trevorpfiz avatar trevorpfiz commented on May 26, 2024

I know it doesn't solve the issue for those who want to keep using ESlint and Prettier, but I moved to Biome.js and it's much, much more performant. There's even starter repo for it here: https://github.com/rajatsandeepsen/t3-turbo-biome

thinking about migrating. anything you are missing from ESLint+Prettier?

from create-t3-turbo.

ck-euan avatar ck-euan commented on May 26, 2024

I know it doesn't solve the issue for those who want to keep using ESlint and Prettier, but I moved to Biome.js and it's much, much more performant. There's even starter repo for it here: https://github.com/rajatsandeepsen/t3-turbo-biome

thinking about migrating. anything you are missing from ESLint+Prettier?

I just migrated today, it's a shame to lose the typed linting but I couldn't justify the performance hit any longer.

The linting rules it has are great - but you do lack things like the nextjs eslint plugin and tailwind class sorting which is a shame but I think a reasonable tradeoff for the performance gains.

from create-t3-turbo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

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

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.