SShortSingh.
Back to feed

Benchmarking 5 React Table Optimisations: Only Two Actually Improved Speed

0
·7 views

A developer tested five common optimisation techniques on a React table rendering 4,000 rows with a live filter, measuring re-render times on a production build. Using React.memo alone reduced render time by just 13ms — within measurement noise — because inline callback functions passed as props change reference on every render, defeating memo's shallow comparison. Combining memo with useCallback and useMemo cut the slowest keystroke re-render from 166ms to 47ms, making it the first genuinely effective fix. A children bailout approach clocked 0.4ms but only because it skipped the filtering work entirely, not because it processed data faster. Virtualisation, which renders only visible rows, reduced render time to 3.6ms while preserving full filter functionality, making it the most practical solution for large datasets.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingHacker News ·

Ireland's DPC fines Google €403M for mishandling user location data

Ireland's Data Protection Commission (DPC) has imposed a €403 million fine on Google following an inquiry into how the company processed users' location data. The investigation examined whether Google's handling of location information complied with the EU's General Data Protection Regulation (GDPR). The DPC, which serves as Google's lead data regulator in the EU due to the company's European headquarters being in Ireland, found violations significant enough to warrant the substantial penalty. This ruling adds to a growing list of major GDPR enforcement actions taken against large technology companies operating in Europe.

0
ProgrammingDEV Community ·

JFrog Artifactory Flaws Actively Exploited, Enabling Full Supply-Chain Compromise

JFrog disclosed and patched three authentication and authorization vulnerabilities in self-hosted Artifactory in September 2026, with CVSS scores ranging from 7.5 to 9.8. The most critical flaw, CVE-2026-82329, allows attackers to forge a cluster join token via an empty default join key and escalate to platform administrator. Security vendors reported that attackers were chaining these flaws to create persistent admin accounts, install malicious plugins, and export credentials and repository configuration. Because Artifactory acts as a central credential store for CI/CD pipelines, a compromised instance can expose every downstream build system that trusts it, including cached packages. CISA added the vulnerabilities to its Known Exploited Vulnerabilities catalog on September 12, 2026, setting a federal remediation deadline of September 25, with JFrog recommending upgrades to fixed versions 7.161.20 or 7.133.11 depending on the branch.

0
ProgrammingDEV Community ·

AI Agent Workflow Proposed to Manage Full Software Feature Development End-to-End

A new workflow has been proposed on DEV Community to help engineering teams use AI agents to implement entire software features, not just individual tasks. The system breaks a high-level 'Epic' into a dependency graph of smaller tasks, each processed through dedicated Planner, Builder, and Reviewer agents running in parallel where possible. A shared Epic document provides agents with objectives, constraints, and acceptance criteria, while the codebase itself supplies the technical ground truth. All task branches are ultimately merged into a single integration pull request that passes CI checks before requiring human approval. The approach aims to minimize manual intervention while preserving oversight controls proportional to the risk level of each change.

0
ProgrammingDEV Community ·

Turkish Dev Team Launches Open Source Toolkit for E-Signature and E-Transformation

The E-İmza.plus team has released an open source project called 'awesome-turkiye-e-donusum', aimed at supporting Turkey's digital transformation ecosystem. The project provides libraries, tools, and guides covering e-signature, fiscal seal, KEP (registered email), e-invoice, UYAP, and related systems. It is designed to make life easier for both developers and end users working with electronic document processes in Turkey. The project carries no license restrictions and can be self-hosted, tested locally, or integrated into other projects. The source code is publicly available on GitHub, and the team is actively welcoming community contributions via pull requests.