Skip to content

Comments

[useCallback] Rephrase sentence for removing Effect dependencies#8012

Closed
rammba wants to merge 1 commit intoreactjs:mainfrom
rammba:features/rephrase-removing-effect-dependencies-in-useCallback
Closed

[useCallback] Rephrase sentence for removing Effect dependencies#8012
rammba wants to merge 1 commit intoreactjs:mainfrom
rammba:features/rephrase-removing-effect-dependencies-in-useCallback

Conversation

@rammba
Copy link
Contributor

@rammba rammba commented Sep 23, 2025

If I understood the intention of the current sentence correctly, it should say that function should be moved outside of an Effect, because it's an explanation of Removing Effect Dependencies article. I just wrote that intention explicitly.

Note: This PR has a conflict with #8011.

@github-actions
Copy link

Size changes

Details

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@rammba
Copy link
Contributor Author

rammba commented Sep 24, 2025

I just realized there is a section about moving data inside an Effect. This can be abandoned because I misunderstood the sentence.

@rammba rammba closed this Sep 24, 2025
@rammba rammba deleted the features/rephrase-removing-effect-dependencies-in-useCallback branch September 24, 2025 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant