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

ENH Convert to functional components #583

Draft
wants to merge 1 commit into
base: 6.0
Choose a base branch
from

Conversation

emteknetnz
Copy link
Member

@emteknetnz emteknetnz commented Jan 8, 2025

Issue silverstripe/.github#336

Also updates the regenerator-runtime dep to the latest version

Update: This PR is not complete, though I'll leave open in a draft state if we wish to swap to functional components in the future. You'll also want the corresponding totp PR

There's a console warning Warning: Invalid hook call. Hooks can only be called inside of the body of a function component. and the component was unable to render`

@emteknetnz emteknetnz force-pushed the pulls/6.0/js-deps branch 4 times, most recently from 8124db0 to 0f8122b Compare January 9, 2025 05:37
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.

1 participant