You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Research into how other projects structure their JavaScript and deal with things like public vs private methods.
We should:
consider previous investigations we've done into this
find different libraries that have a JavaScript public API and that set methods and variables as 'public' or 'private'
Why
To get some ideas for things to try when prototyping our own approach for JavaScript in GOV.UK Frontend. Some of the specific problems we're trying to solve as part of this work and that may guide this research are:
vanitabarrett
changed the title
Understand how JavaScript APIs and public/private definitions work in existing projects (libraries, design systems)
Research JavaScript APIs in other projects
Feb 28, 2022
Closing as we're not planning on doing this (at least not as a piece of work in its own right – we often look at what other frameworks are doing for examples of best practise)
What
Research into how other projects structure their JavaScript and deal with things like public vs private methods.
We should:
Why
To get some ideas for things to try when prototyping our own approach for JavaScript in GOV.UK Frontend. Some of the specific problems we're trying to solve as part of this work and that may guide this research are:
For example: do we need a function within the character count to allow people to programatically update the component or tigger an update?
See the epic card for more detail on the problem(s).
Who needs to know about this
Developers
Done when
The text was updated successfully, but these errors were encountered: