Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NDS-795] feat: upgrading dependencies of react to 18 #670

Merged
merged 3 commits into from
Sep 19, 2023

Conversation

panvourtsis
Copy link
Collaborator

@panvourtsis panvourtsis commented Sep 18, 2023

Description

This PR tends to solve typing for React 18. Any app that uses ictinus till this point have issues when they are using our library. From now on we are solving this and we are also backward compatible with React 17

You should expect to see:

  • a lot of changes of React.FC to our new type ReactFCC which is the new component with children.
  • many dummy removal of lines and emotion styled updated on snapshot files because of emotion upgrade

Test Plan

Already tested with RC version on

  • Rights Cloud
  • Earnings

@orfium-sonarqube-app
Copy link

Copy link
Contributor

@mkarajohn mkarajohn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Personally I think this would be a great opportunity to completely drop the pattern of "typed" React components; I would much prefer for them to be written as function Component(props: Props) {} but as long as the implemented solution resolves the reported issue, it's fine by me.

@panvourtsis panvourtsis merged commit 89da0fa into master Sep 19, 2023
12 checks passed
@panvourtsis panvourtsis deleted the chore/react-upgrade branch September 19, 2023 13:45
@panvourtsis panvourtsis changed the title feat: upgrading dependencies of react to 18 [NDS-795] feat: upgrading dependencies of react to 18 Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants