Better HN
topnewbestaskshowjobs
Log inSign up

tannerlinsley

313 karma · joined Sep 22, 2014 (12y ago) · 107 submissions

Submissions

comment 6mo ago · link · parent

Post Mortem: https://tanstack.com/blog/npm-supply-chain-compromise-postmo...

comment 6mo ago · link · parent

That Tanner guy is nuts.

comment 7mo ago · link · parent

You’re the only one

comment 7mo ago · link · parent

It works, but once again, you will be left without a stable native caching mechanism in React unless you put the stream into state. Use Query, or Router, or something.

comment 7mo ago · link · parent

Thanks guys!

comment 7mo ago · link · parent

Correct. People need to stop conflating SSR with RSC. Well said.

comment 7mo ago · link · parent

Coming soon!

comment 7mo ago · link · parent

Thank you!

comment 1y ago · link · parent

Thank you for your kind words and support!

10.

Next.js vs. TanStack(kylegill.com ↗)

13 points · by tannerlinsley · 1y ago · 4 comments

11.

TanStack Form V1 – Type-Safe, Agnostic, Headless Form Library(twitter.com ↗)

10 points · by tannerlinsley · 1y ago · discuss

12.

Why React Query?(ui.dev ↗)

9 points · by tannerlinsley · 2y ago · 2 comments

comment 2y ago · link · parent

Announcement: https://x.com/tannerlinsley/status/1738709130213560497?s=46&...

14.

TanStack Router v1(tanstack.com ↗)

8 points · by tannerlinsley · 2y ago · 1 comment

comment 3y ago · link · parent

Keyword clustering that finds the overlapping URLs in the top 10 between SERPs to generate clusters with actionable metrics like Traffic Opportunity, Max Estimated Traffic, and more. You can start improving your content and SEO based on real data.

comment 3y ago · link · parent

You have no idea how excited I am about this.

comment 4y ago · link · parent

TLDR: I write and maintain several good-sized typescript libraries so I write library types all the time. In fact, I'm writing them right now! TypeScript is what makes them really fun to use. They infer everything they can and have very high levels of safety and passthrough while still allowing for composition and extension at the framework-adapter and library level. I will never consider writing another OSS tool in the JS ecosystem without ensuring the typescript experience is the best I can offer.

That said...

I've learned that "library" types might not be the best way to talk about these concepts. What we're really talking about here are types that are complex/advanced enough to force you to venture beyond the primitive building blocs in the TS docs and into existing open source solutions that have trail-blazed more advanced use-cases. It took me only a few weeks to get comfortable with common TS, but at least a year to feel dangerous enough to write more advanced TS. I'm on year 3 now and I am still learning/forgetting so much about it.

I agree that: - Advanced types and their concepts are difficult to learn. - There is limited documentation on how to create/use them. - They can sometimes be difficult to reason about, mainly due to the limited syntax TS offers around advanced concepts.

On the the positive: - They can be learned with practice. - There is plenty of OSS out there to learn from - Once you learn them, you start to think differently about TS as a language instead of annotations

I wish there were better features/syntax support for: - Optional generics - Higher-order generics / Polymorphic generics (basically higher-order functions, but for types) - More built-ins (like ts-toolbelt, type-fest, etc)

I think this ramp of difficulty with advanced TS types is fine for the most part. Library authors have always carried way more of a burden than devs at the edge, even during runtime to ensure things like size, performance, flexibility, etc. TS is just another facet that is becoming more an expectation every day.

At the end of the day, a library dev gets to choose what level of investment they'll put into great types for their library. If they can pull it off, their tool will likely provide a measurably better developer experience.

That's my goal for my libraries, so choosing to go all-in on advanced TS is now a no-brainer.

Anywho, good luck!

18.

TanStack – High-quality open-source software for web developers(tanstack.com ↗)

3 points · by tannerlinsley · 4y ago · discuss

19.

TanStack Virtual – Headless UI for Virtualizing Large Element Lists(tanstack.com ↗)

1 points · by tannerlinsley · 4y ago · discuss

comment 5y ago · link · parent

Thanks!

comment 5y ago · link · parent

MIT - https://github.com/tannerlinsley/react-location/blob/main/LI...

22.

React Location – Enterprise Routing for React(react-location.tanstack.com ↗)

7 points · by tannerlinsley · 5y ago · 4 comments

23.

React Query v3(twitter.com ↗)

4 points · by tannerlinsley · 5y ago · discuss

24.

React Query Essentials – A course for better data fetching in React(learn.tanstack.com ↗)

2 points · by tannerlinsley · 6y ago · discuss

25.

React Query v2.0.0 · Tannerlinsley(github.com ↗)

2 points · by tannerlinsley · 6y ago · discuss

comment 6y ago · link · parent

Being a headless table utility, any screenshot of the table UI would either be over or under selling the potential UI that users will implement with the library. If you noticed the exmamples are very bare bones styles so as to highlight the functionality of the library. These examples would be "ugly" as marketing material. If another example was super dressed up and looked amazing and used as marketing material, users may be disappointed when they realize they are in charge of their own styles. It's 6's I believe, so I went with what I thought was the safest option, exclusion of screenshots.
1234