-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Syncs cms/automations/react-19-remove-memoization-hooks.md from codem…
…od-registry
- Loading branch information
codemod.com
committed
Feb 27, 2024
1 parent
1a5b297
commit 3b2eb15
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
created-on: 2024-02-27T13:22:05.018Z | ||
f_long-description: >- | ||
## Description | ||
This codemod will remove manual memoization hooks: `useCallback`, `useMemo` and `memo`. This codemod goes hand in hand with React Compiler. | ||
f_github-link: https://github.com/codemod-com/codemod/tree/main/apps/registry/codemods/react/19/remove-memoization-hooks | ||
f_vs-code-link: vscode://codemod.codemod-vscode-extension/showCodemod?chd=hFuJLcR6zS75nqVW-7RfEeGVsm8 | ||
f_cli-command: codemod react/19/remove-memoization-hooks | ||
f_framework: cms/framework/react.md | ||
f_applicability-criteria: "React <=18" | ||
f_verified-codemod: true | ||
f_author: cms/authors/codemod-com.md | ||
layout: "[automations].html" | ||
slug: react-19-remove-memoization-hooks | ||
title: React V19 - Remove Manual Memoization Hooks | ||
f_slug-name: react-19-remove-memoization-hooks | ||
f_codemod-engine: cms/codemod-engines/jscodeshift.md | ||
f_change-mode-2: Autonomous | ||
f_estimated-time-saving: "~5 minutes/occurrence" | ||
tags: automations | ||
updated-on: 2024-02-27T13:22:05.018Z | ||
published-on: 2024-02-27T13:22:05.018Z | ||
seo: | ||
title: React V19 - Remove Manual Memoization Hooks | ||
description: This codemod will remove manual memoization hooks: useCallback`, `useMemo` and `memo | ||
--- | ||
This codemod will remove manual memoization hooks: `useCallback`, `useMemo` and `memo`. This codemod goes hand in hand with React Compiler. |