fix: migrate deprecated componentWillReceiveProps to componentDidUpdate by 18vikastg · Pull Request #798 · algorithm-visualizer/algorithm-visualizer
Navigation Menu
- Notifications You must be signed in to change notification settings
- Fork 7.6k
Conversation
- Replaced componentWillReceiveProps with componentDidUpdate in 6 components - Added proper prevProps comparison to prevent unnecessary updates - Ensures compatibility with React 17+ and future versions Resolves deprecation warnings and future-proofs the codebase.
This file contains hidden or 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