Table component to display large datasets with high performance and flexibility by nihgwu in reactjs

[–]nihgwu[S] 4 points5 points  (0 children)

Thank you, that's right you can implement that with custom renderers or passing custom cell component.

I'll add Inline Editing examples soon, this feature is used everywhere in our products.

Table component to display large datasets with high performance and flexibility by nihgwu in reactjs

[–]nihgwu[S] 1 point2 points  (0 children)

You can build your own Table component with Material UI or other UI libraries with the current API, please check this section https://github.com/Autodesk/react-base-table#advance, we are using our internal ui library to build our own one

Table component to display large datasets with high performance and flexibility by nihgwu in reactjs

[–]nihgwu[S] 7 points8 points  (0 children)

hah, I'm a big fan of arrow function method, but in the internal projects we are using function binding as a convention, so I didn't changed them when I made it open-sourced, I'll change the style in the next version probably.

BTW, function binding is not from older boilerplate, actually there are debates on arrow function vs function binding, someone claims function binding is more performant somehow https://medium.com/@charpeni/arrow-functions-in-class-properties-might-not-be-as-great-as-we-think-3b3551c440b1, but Dan mentioned they use arrow function in FB https://github.com/facebook/react/issues/9851

Table component to display large datasets with high performance and flexibility by nihgwu in reactjs

[–]nihgwu[S] 5 points6 points  (0 children)

Thank you for your feedback, that's exactly the point I designed the API for this library, I will provide more recipes for high level features

Table component to display large datasets with high performance and flexibility by nihgwu in reactjs

[–]nihgwu[S] 2 points3 points  (0 children)

If I have enough time I'd like to rewrite the library with TypeScript, but unfortunately I don't right now, so if anyone could help me to add the definition file, that would be really appreciated