GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Migrating Current React version to Latest Stable version by Ayush4958 · Pull Request #385 · StatTag/StatWrap

Conversation

@Ayush4958

@Ayush4958 Ayush4958 commented Apr 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Migrated Current React Version into Latest Stable React Version ().

Changes

  • On Source File where :-
function linkedDescription(props) { ... }
linkedDescription.defaultProps = { props.key : value };
  • Migrated to this :-
function linkedDescription({ key = value, ...rest }) {
  const props = { key , ...rest };
}
  • On Source File where :-
function AssetNode(props) {
  const { key1, key2/* ... */ } = props;
}
AssetNode.defaultProps = { key2: value2 };
  • Migrated to this :-
function AssetNode(props) {
  const { key1, key2 = value2 /* <--- Default value added right here! */ } = props;
}

File Updated

  • app/components/Projects/ProjectEntry/ProjectEntry.js
  • app/components/ProjectLog/ProjectLog.js
  • app/components/ProjectLog/ProjectLogRow/ProjectLogRow.js
  • app/components/Project/ProjectUpdateSummary/ProjectUpdateSummary.js
  • app/components/Project/LinkedDescription/LinkedDescription.js
  • app/components/Person/Person.js
  • app/components/People/PeopleTable/PeopleTable.js
  • app/components/People/PeopleCardList/PeopleCardList.js
  • app/components/NoteEditor/Note/Note.js
  • app/components/Filter/FilterItem/FilterItem.js
  • app/components/AssetTree/AssetNode/AssetNode.js
  • app/components/Projects/ProjectListEntryMenu/ProjectListEntryMenu.js
  • app/components/Projects/ProjectGroup/ProjectGroup.js

Checks

Already runs all the Test cases & It passes all in my end.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Ayush4958
Migrating Current React version to Latest Stable version
2da6c0f
Signed-off-by: Ayush <[email protected]>
@lrasmus

lrasmus commented Apr 13, 2026

Copy link
Copy Markdown
Contributor

@Ayush4958 - this works fine in development mode. When I attempt to package (yarn package) and run the application though, it fails to run. The error sounds like there are conflicting versions of react in the dependency tree.

I can see some conflicts reported when I run npm ls react

I'm hoping these packages can be upgraded to a newer version that uses a newer React.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Ayush4958

Ayush4958 commented Apr 14, 2026

Copy link
Copy Markdown
Contributor Author

Ohk ,
I will be making new changes to solve the issues

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Ayush4958 Ayush4958 mentioned this pull request Apr 15, 2026
Evaluate upgrade to React 19 #400
Open
@lrasmus

lrasmus commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

@Ayush4958 - I know we still have an outstanding issue with some dependencies and React19. However, you put in a lot of work to move away from the deprecated defaultProps. Would you be okay if I modified this PR to be entirely focused on removing deprecated defaultProps? I'm happy to make the remaining changes needed, but wanted to confirm you were okay with the pivot.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Ayush4958

Ayush4958 commented Jun 5, 2026

Copy link
Copy Markdown
Contributor Author

@lrasmus
Yes sure , It's totally fine
Pls make changes as you like
Which helps the project

lrasmus reacted with heart emoji
All reactions
  • ❤️ 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lrasmus
lrasmus merged commit 2da6c0f into StatTag:master Jun 5, 2026
@lrasmus

lrasmus commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

As a note - this was merged but included some extra changes to not upgrade React:
#425

But we wanted to get all of the defaultProps removal that Ayush4958 did included.

Ayush4958 reacted with heart emoji
All reactions
  • ❤️ 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@Ayush4958 @lrasmus
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.