TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

React Table v7 – Hooks for building fast and extendable data grids in React

136 点作者 tannerlinsley大约 5 年前

11 条评论

tmpz22大约 5 年前
One of the biggest &quot;problems&quot; with React is that it is such an out-of-your-way ecosystem that teams are able to build their own preferred abstractions whenever they want. In the mindset of many web developers, we&#x27;re all geniuses who surely can invent the more optimal wheel - whether that&#x27;s because we work at $BIG_CORP and have the time, or because we work in a start-up like environment with nobody to audit us and tell us we&#x27;re collectively acting like dumb asses.<p>I&#x27;ve personally wasted several hundred hours this year implementing custom table logic and design through the react-virtualized-table&#x2F;react-window libraries. They are great libraries! But it was not a good use of my time customizing it into a perfect incantation&#x2F;API. I over-engineered how the virtualization tied into our REST API and many of our junior developers couldn&#x27;t keep up with the increased abstraction.<p>Let my story be a lesson that you should probably grab hold of a library like this, swallow the fact that you&#x27;re conforming to someone else&#x27;s API and concepts, and just get stuff done.<p>I&#x27;ll seriously evaluate and likely use this library in future react projects instead of other more involved implementations. Great docs too!
评论 #22539616 未加载
评论 #22543603 未加载
评论 #22539485 未加载
评论 #22545814 未加载
评论 #22542554 未加载
Nican大约 5 年前
I am trying to load the Examples [1] in CodeSandbox, and I keep getting a &quot;Request failed with status code 403&quot;<p>Any idea of what is going on here?<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;tannerlinsley&#x2F;react-table&#x2F;blob&#x2F;master&#x2F;docs&#x2F;examples.md" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tannerlinsley&#x2F;react-table&#x2F;blob&#x2F;master&#x2F;doc...</a>
评论 #22539459 未加载
评论 #22541345 未加载
tannerlinsley大约 5 年前
At a glance features:<p>- Lightweight (5kb - 12kb+ depending on features used and tree-shaking) - Headless (100% customizable, Bring-your-own-UI) - Auto out of the box, fully controllable API - Sorting (Multi and Stable) - Filters - Pivoting &amp; Aggregation - Row Selection - Row Expansion - Column Ordering - Animatable - Virtualizable - Resizable - Server-side&#x2F;controlled data&#x2F;state - Extensible via hook-based plugin system
dang大约 5 年前
Related thread from a few months ago: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=21630459" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=21630459</a>
jannyfer大约 5 年前
Just to speak up for those that are struggling with the headlessness of v7... I have a small team with junior resources that had to build a table in React.<p>We were hoping for a plug-and-play library, and eventually settled on React Table v6. Being a small team, I don’t think we’ll migrate over to v7 - we don’t have any benefits from any more control over the UI than v6 had.
评论 #22542412 未加载
raarts大约 5 年前
Anybody know if it supports GraphQL (with subscriptions)?
评论 #22541265 未加载
hpliferaft大约 5 年前
Nice!! I use a ton of tables in the react apps I make on the job, so I&#x27;m excited to try this out. Thanks for making it open source.
nullorundefined大约 5 年前
does it have merged cells? we&#x27;ve had to in-house tables for this alone
评论 #22539439 未加载
socallo大约 5 年前
tannerlinsley for president 2020.
oilrefinery大约 5 年前
Unfortunately the examples don&#x27;t seem to work, they return 403 errors.
评论 #22539501 未加载
pogorniy大约 5 年前
While this is a good piece of work I was surprised that it seemed to be impossible it to control table search and filter from outside of components. I blame hooks as their behavior seems to be non-trivial to push outside of component boundaries. Which puts developer in undesirable constraints how to model application.
评论 #22539525 未加载