Skip to content

Conversation

@cs-alexg
Copy link

@cs-alexg cs-alexg commented Dec 11, 2024

Changes

  • Upgraded to Node 20
  • Upgraded to Typescript 5
  • Upgraded to Webpack 5
  • Upgraded to React 18
  • Upgraded to Blueprint 5
  • Converted all class components to functional components in React. Moved to the use of react-based hooks.

Resources used

Screenshots

Fixed by adding children to context
Screenshot 2024-12-11 at 11 20 04
Fixed by removing node-sass (deprecated) and replace with sass package
Screenshot 2024-12-11 at 11 20 46
Fixed by editing date type
Screenshot 2024-12-11 at 11 20 49

@cs-alexg cs-alexg marked this pull request as draft December 11, 2024 17:59
@cs-alexg cs-alexg changed the title Node 20, Typescript 5, webpack 5, react 18, blueprint 5 NPM Upgrades Dec 11, 2024
@cs-alexg
Copy link
Author

defaultprops-error

Been trying to figure this one out to no avail. I think this is the culprit:

const DateInputWrapper = connect((props: DateInputProps & { formik?: FormikContextType<FormikValues> }) => (
  <DateInput {...props} />
));

@cs-alexg
Copy link
Author

cs-alexg commented Dec 20, 2024

A lot of the errors I'm seeing are likely do that Babel 7+ natively supports Typescript so I had to add some plugins to support that.

@cs-alexg cs-alexg marked this pull request as ready for review December 20, 2024 18:40
@cs-alexg cs-alexg marked this pull request as draft December 20, 2024 18:40
@cs-alexg cs-alexg marked this pull request as ready for review January 3, 2025 18:53
@cs-alexg
Copy link
Author

cs-alexg commented Jan 3, 2025

Next steps are getting the package to run locally with the local main platform.

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