Skip to content

Switch to React functional components#307

Merged
wilkie merged 4 commits into
mainfrom
switch-to-function-components
May 21, 2026
Merged

Switch to React functional components#307
wilkie merged 4 commits into
mainfrom
switch-to-function-components

Conversation

@wilkie
Copy link
Copy Markdown
Contributor

@wilkie wilkie commented Apr 9, 2026

Fairly straight-forward conversion. Though it chose to make them in the form function MyComponent(...) {} and I would prefer const MyComponent = ({...}: MyComponentProps) => {...} instead. I will convert this in the TypeScript path.

@wilkie wilkie changed the base branch from main to upgrade-react-and-eslint April 9, 2026 04:27
@wilkie wilkie changed the base branch from upgrade-react-and-eslint to main May 7, 2026 20:38
Comment thread package.json Outdated
Comment thread src/UIComponents/TrainModel.jsx Outdated
Employed the common pattern of wrapping the affected property in a ref.
@wilkie wilkie merged commit 109b625 into main May 21, 2026
2 checks passed
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