Skip to content

ENH Convert to functional components#583

Draft
emteknetnz wants to merge 1 commit intosilverstripe:6.0from
creative-commoners:pulls/6.0/js-deps
Draft

ENH Convert to functional components#583
emteknetnz wants to merge 1 commit intosilverstripe:6.0from
creative-commoners:pulls/6.0/js-deps

Conversation

@emteknetnz
Copy link
Copy Markdown
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