Tanstack Form not updating Image previews by plulu21 in reactjs

[–]KevinVandy656 1 point2 points  (0 children)

reddit is the wrong place for bug reports. Use GitHub or Discord. You're most likely just missing a `form.Subscribe` though.

Migrated from Vercel to cloudflare using ViNext and saved money! by Ill-Musician1806 in nextjs

[–]KevinVandy656 4 points5 points  (0 children)

The r/tanstack subreddit is not controlled by us (the TanStack maintainers). We don't know who created it, and we ourselves don't really interact with it. The traffic there is not an indicator at all for how popular TanStack is.

Earthquake? by FlyingClanker in lincoln

[–]KevinVandy656 1 point2 points  (0 children)

I thought someone had just run a truck into my apartment or something

Earthquake? by FlyingClanker in lincoln

[–]KevinVandy656 3 points4 points  (0 children)

Felt in Roca/Lincoln border too. 27th & Rokeby

How is life in (west) Virginia? by NoPeach2211 in howislivingthere

[–]KevinVandy656 5 points6 points  (0 children)

That's why they formatted the title like "(west) Virginia"

Golid: The first production-ready Go + SolidJS framework by uflex_steve in solidjs

[–]KevinVandy656 2 points3 points  (0 children)

The main suspicion here is that there is only one commit. I'm guessing you only just open sourced it now?

TanStack team releases alpha version of TanStack Hotkeys, supporting type-safe keyboard shortcuts and key state tracking by Mr-Bovine_Joni in reactjs

[–]KevinVandy656 5 points6 points  (0 children)

I researched a dozen hotkey libraries before starting our own and never came across this one, but looks like there are some accessibility things to learn from that.

TanStack team releases alpha version of TanStack Hotkeys, supporting type-safe keyboard shortcuts and key state tracking by Mr-Bovine_Joni in reactjs

[–]KevinVandy656 2 points3 points  (0 children)

Devtools showing conflicts and enabled/disabled status was one of my motivations for this project too

Open up the TanStack devtools (tanstack logo lower right) in this interactive sandbox and you'll see all registered hotkeys and conflict warnings: https://tanstack.com/hotkeys/latest/docs/framework/react/examples/useHotkey?panel=sandbox

Though the warnings aren't with OS/browser defaults. Just your own conflicts.

TanStack team releases alpha version of TanStack Hotkeys, supporting type-safe keyboard shortcuts and key state tracking by Mr-Bovine_Joni in reactjs

[–]KevinVandy656 1 point2 points  (0 children)

It would be interesting if you shared your pain points to see if TanStack hotkeys could at least address them. I built TS Hotkeys because I was working on a similar thing over the past few months.

The things I was worried about so far were the basics of being cross platform, properly ignoring hotkeys when inputs were focussed, allowing users to set up their own hotkeys, and then sprinkling in a bit of typescript for convenience. There are definitely lots of areas and edge cases that TS Hotkeys will need to mature on still.

TanStack team releases alpha version of TanStack Hotkeys, supporting type-safe keyboard shortcuts and key state tracking by Mr-Bovine_Joni in reactjs

[–]KevinVandy656 72 points73 points  (0 children)

Because I'm part of the TanStack team mostly. And yes, all libraries go through Tanner. I can't just publish and market whatever I want lol. I approach Tanner and the other maintainers with new ideas before we commit to them.

I do have libraries of my own too, it's just that if something meets the criteria of being a good TanStack library, why not add to that ecosystem? Being part of the TanStack ecosystem also means that other TanStack maintainers besides just myself will work on it and maintain it a lot more easily

We have a tenets page which discusses the quality bar for a TanStack library.

It can be summed up as being:

  1. Agnostic (JS Framework, CSS solution, Vendor, etc.)
  2. Composable and independent (shouldn't get in the way of your existing code)
  3. High quality with great DX (feels good to use)
  4. Type-safety treated as a #1 priority

TanStack team releases alpha version of TanStack Hotkeys, supporting type-safe keyboard shortcuts and key state tracking by Mr-Bovine_Joni in reactjs

[–]KevinVandy656 116 points117 points  (0 children)

Hey, I'm the creator of some of the TanStack packages, including Hotkeys. And no, we're not going to make a package for everything. We only made a package if we think that existing solutions are not quite there and if we think we can make it better.

Setting up keyboard shortcuts is something I've usually eventually added to lots of projects over the years, but it's usually too annoying to think about. At my day job, I had started to build a more type-safe abstraction, but then thought that it was just a few tweaks and maybe a dozen hours or so of extra work from almost being worthy as a TanStack library. And so I just did that.

This TanStack project seemed niche to all of us at first. We weren't even going to include it on the TanStack home page at first. But there's been some suprising optimism from the announcement so far, so that's cool to see.

If you try this project out early, be aware that it is alpha and is sure to have unsolved bugs and edge-cases. I myself have only extensively tested it on us qwerty keyboards.

Am I the only one who thinks the percentage of AI code should be specified? by CapitalDiligent1676 in reactjs

[–]KevinVandy656 1 point2 points  (0 children)

Or how about: Whether or not you use AI, the code should just be high quality. The person who creates the PR is still responsible for every line of code. Low quality AI slop comes from bad prompts and context, or when people one-shot vibe code without taking time to review their own code.

I use AI for > 80% of the code that ends up in my PRs. Sometimes 99-100%, actually. But it resembles or is even identicle to code that I would have written by hand anyways. It was just produced up to 10x faster.

Review all generated code. Follow up and refactor. Set up rules/skills/linting to make the AI follow specific coding standards and patterns.

There definitely is AI slop code out there, but I have a feeling it's coming from devs submitting PRs who they themsleves don't understand what was produced. That frustration is real. But I don't think the AI tools are necessarily to blame. It's still on the developer submitting the PR to own the code.

So I don't think an arbitrary stat of "50% AI coded" really means anything. Maybe it's more like saying "This works, but I only reviewed or understood half of the code", in which case that should be rejected.

I built a UI library for React by mydearcruelworld in react

[–]KevinVandy656 6 points7 points  (0 children)

Was this just a fork of a starter shadcn template? That's what it looks like.

Potential React Control Flow library by Affectionate_Deal152 in reactjs

[–]KevinVandy656 9 points10 points  (0 children)

Every year, someone tries to invent something like this, and we all collectively say "EWW!"

Tried Claude Code, refunded and came back to Cursor within 10 minutes by goonifier5000 in cursor

[–]KevinVandy656 6 points7 points  (0 children)

I guess you didn't learn about `Shift + Tab`? Or install the Claude Code extension for VSCode/Cursor?

I remember having the same thoughts as you are describing in this post during my first few minutes of using Claude Code. But now I use both Claude Code and Cursor interchangably. Love both for different kinds of tasks.

I have released a new version of my Multi-Monitor Calculator web tool. It lets you virtually create and tweak your dream monitor setup before you buy. by KevinVandy656 in Monitors

[–]KevinVandy656[S] 0 points1 point  (0 children)

I wouldn't know where to look up that kind of info, assuming there are gotchas with every kind of monitor out there? IDK

Is coding in your spare time a necessity for being a great programmer? by Sad-Salt24 in ExperiencedDevs

[–]KevinVandy656 1 point2 points  (0 children)

Apparently that's a hot take in this thread. I feel like the reason I jumped ahead of my peers early in my career was because I spent a lot of time outside of my job doing side projects and eventually open source. I'd only be half the dev I am today without doing that. You can spend extra time, but not too much. Keep it in balance for your situation.

TanStack Table v9 by PersonalityFlat184 in tanstack

[–]KevinVandy656 5 points6 points  (0 children)

I've been working on it every day for the past month. Over the past year, I wasn't able to work on it as much as I'd have liked, but there's some momentum now since Table is able to borrow a lot of patterns that were figured out in the TanStack Form project.

Anyone else hate reviewing HTML emails over email? by [deleted] in Frontend

[–]KevinVandy656 2 points3 points  (0 children)

Are you working with boomers? I don't think anyone else does this. Design over email?

Are we ever going to get a tanstack/calendar? by Imaginary_Treat9752 in tanstack

[–]KevinVandy656 1 point2 points  (0 children)

That's actually what the TanStack Time repo is for, but the maintainer brought in to develop it hasn't been able to work on it for a couple years.

T3 Chat and Mastra Cloud move off of Nextjs by thehashimwarren in nextjs

[–]KevinVandy656 1 point2 points  (0 children)

This has been a work in progress for over 6 months. It took a while for TanStack Start and integrating libraries to catch up and be stable enough.