question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

v7 Feedback & Ideas

See original GitHub issue

Hi, First, I’m trying v7, it’s awesome to work with Hooks! Trying it for the first time so my comments might be wrong.

Describe the bug This are more of an architecture comment than a bug: If you disable useExpanded hook, the table breaks. I know in userland you can’t disable this hook but the fact that this happens, (edit: actually you can) probably demonstrates wrong app design: I figured out this is happening because you’re building initial state within the useExpanded hook (row.cells = ...).

Expected behavior I think that adding or removing hooks should not break the entire component. Hooks should be encapsulated.

Codesandbox! https://codesandbox.io/s/nk9rmym6m4

Solution That initial state logic could be within useTable itself (tested and works fine). I can provide a PR if needed.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:101 (33 by maintainers)

github_iconTop GitHub Comments

9reactions
tannerlinsleycommented, Jul 17, 2019

I’m writing the documentation right now. It’s a big undertaking so be patient. It’s gonna be great. On Jul 17, 2019, 6:21 AM -0600, Aurimas notifications@github.com, wrote:

Any guidelines how to implement server-side + infinite scrolling (sandbox example for this case is not working)? I think any documentation for v7 would be beneficial for the project (more potential contributions). It’s hard to grasp lib concepts (how hooks are composed, etc.) only by looking at the code. Any ETA for the initial docs? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

7reactions
berdyshevcommented, Apr 5, 2019

@tannerlinsley would you be able to publish the new version with the latest code, please?

Read more comments on GitHub >

github_iconTop Results From Across the Web

v7 Feedback & Ideas · Issue #1252 · TanStack/table - GitHub
Hi, First, I'm trying v7, it's awesome to work with Hooks! Trying it for the first time so my comments might be wrong....
Read more >
v7 feedback | Page 4 | CivFanatics Forums
Comments on the game without inflation always welcome! I'm wondering if I should change Autarky back to -100% distance maintenance btw. That civic...
Read more >
sE Electronics V7 - User review - Gearspace.com
sE Electronics first dynamic handheld microphone - the V7. It sits well with the excellent competition and is a level above similarly-priced ' ......
Read more >
re: Fire Emblem: Graphic Request and Feedback V7 - Page 14 - Fire ...
Fire Emblem: Graphic Request and Feedback V7 ... Any ideas of a sprite for my new mug? ... XD Anyone else have tips...
Read more >
Say Hello | V7 Community
What brings you to V7? Are you starting from scratch or migrating another tool? What problems are you hoping to solve with computer...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found