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

New feature: provide a way for consumers of this library to enable or disable nhsuk javascript shimming #243

Open
edwardhorsford opened this issue Jun 14, 2024 · 0 comments

Comments

@edwardhorsford
Copy link
Contributor

This library includes reimplementations of nhsuk-frontend javascript. This is often needed as React works differently than how the native javascript expects.

If a team is using this library server side / pre-rendered, then they should be able to use the nhsuk-frontend javascript.

It would thus be good if this library provided a way to enable or disable the shimming, or otherwise know if it's rendered client or server side.

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

No branches or pull requests

1 participant