github jbetancur/react-data-table-component v3.0.0

latest releases: v7.6.2, v7.6.1, v7.6.0...
4 years ago

Features

🏎 🔥 Performance 🏎 🔥

#164 This was largely an incremental internal refactor of the architecture to React Hooks. Additionally, performance is at least 50% faster than before as there were several areas where React Data Table was performing unnecessary re-renders.

  • 50%+ faster table performance
  • It's up to you to make sure you are passing props in that are not changing on every re-render cycle! The following section in the Readme is now included to help you optimize RDT:
    https://github.com/jbetancur/react-data-table-component#optimizing-for-performance-and-caveats
  • RDT comes with a memoization helper that you can use on class components to cache things like calculating columns (use React Hooks for functional components)
  • #103 Previously columns were not re-rendered at all. This meant that if you wanted to provide dynamic columns you could not do so. Now you can mutate your columns, but make sure you adhere to the optimizing for performance section in the README

❗️ Breaking Changes ❗️

  • React Data Table requires at least React 16.8.0+

🔧 Maintenance 🔧

  • Added missing test cases
  • Updated Deps

Don't miss a new react-data-table-component release

NewReleases is sending notifications on new releases.