Why this library so overcomplicated? #2147
-
First of all, I love this library and I still use v6 on my old project. Last week we started a new project with TypeScript and React and I decided to use v7 for the table creation. I have just one question - why this library API so difficult to understand in contrast to v6? |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 13 replies
-
Where v6 shipped with an opinionated UI on top of it, and buried more of the logic inside of its core, v7 instead, exposes that core logic and expects you to build your own UI on top of it. While this may seem more "complicated", it is no way "over"-complicated. In fact, it is the same complexity and amount of logic, or less in some scenarios, than v6. The architecture of incrementally adding hooks to the base I didn't write, maintain the types, nor do I use them, so I can't begin to understand why it would take you 3 days to create a simple table when the same is possible without Typescript in about 5 minutes by copying and pasting any of the examples into your codebase. I'm sorry this has been your experience and I encourage you to contribute to the 3rd party community types in Definitely Typed if this is important to you. |
Beta Was this translation helpful? Give feedback.
-
As a new user of this library, I do have to somewhat agree with @SNPR, needless, the say the "headless" library approach was a brilliant move and v7 is really freaking awesome. I do think the documentation does cover the whole story and I do see it is a work in progress so that's also freaking awesome! |
Beta Was this translation helpful? Give feedback.
-
@tannerlinsley thank you for your answer. I don't have any complaints about your library. Thank you and all maintainers for this great tool! Probably, this library became too complex for junior frontend developers :-) |
Beta Was this translation helpful? Give feedback.
-
Maybe I am throwing gasoline in the fire here, but is there any particular reason that this project is not migrated to TypeScript? |
Beta Was this translation helpful? Give feedback.
-
A few quick thoughts (I don't have a lot of time today, so this is from the hip)
|
Beta Was this translation helpful? Give feedback.
-
As a new user with an existing table implementation i LOVE the simplicity of just adding some hooks and suddenly my own table UI has sorting, filtering and fast windowed scrolling of 10 000 rows. |
Beta Was this translation helpful? Give feedback.
-
I find this library amazing, but depending on what you want to do. And when you find an example in the codesandbox, you always say damn it was how you had to write the code, wow because the documentation is no longer simple to understand. So I honestly think the library is amazing but the documentation needs to be simpler, because once you understand how things work they get relatively easier over time. |
Beta Was this translation helpful? Give feedback.
-
v8 is more complicated and too much exposed than v7. Just the basic table example is too much and also I feel the naming in v7 is much better. Why like |
Beta Was this translation helpful? Give feedback.
-
if you're not using typescript, for whatever reason, the documentation doesn't say how to create a table... |
Beta Was this translation helpful? Give feedback.
-
Glad I saw this.. I was thinking the same thing and decided to randomly check google to see if others found this way too complex. I'd love to use it but it's just not straight forward, the docs nor the examples are really that good at explaining what's going on. I can get a simple table displaying easy enough but then you want to add filtering and the demo just explodes in complexity. Has a lot of fantastic features but just incredibly way too complex to implement. |
Beta Was this translation helpful? Give feedback.
-
I agree with the documentation being really lacking at this point. With a library this hard to use and impossible to guess, the documentation needs to be extra good. Just two things from the top of my head:
|
Beta Was this translation helpful? Give feedback.
This is outdated. Typescript all the way. V8 is awesome.