alphagov / govuk-frontend

GOV.UK Frontend contains the code you need to start building a user interface for government platforms and services.
https://frontend.design-system.service.gov.uk/
MIT License
1.17k stars 320 forks source link

Add leading check to verify that GOV.UK Frontend is supported in `createAll` #5213

Closed romaricpascal closed 1 month ago

romaricpascal commented 1 month ago

What

Similarly to what initAll does, add a leading check to createAll to verify that GOV.UK Frontend is supported before looping on components.

Why

To avoid unnecessary looping

Who needs to work on this

Developers

Who needs to review this

Developers

Done when

romaricpascal commented 1 month ago

Merged on the public-js-api branch so we can close this issue.