Results for “component”
Small, practical examples. Search by task or narrow things down below.
Control a select element
Control a select element with a small React component and explicit browser behavior.
React✓ Tested
Control a text input
Control a text input with a small React component and explicit browser behavior.
React✓ Tested
Convert a duration to hours and minutes
Python: Use divmod to split nonnegative whole seconds into display components.
Python✓ Tested
Count days between two dates
Java: Use ChronoUnit.DAYS for an elapsed count rather than a Period day component.
Java✓ Tested
Create a dependency with a provider factory
Create a dependency with a provider factory with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Create a small pure formatting pipe
Create a small pure formatting pipe with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Defer the value used by a result panel
Defer the value used by a result panel with a small React component and explicit browser behavior.
React✓ Tested
Delay publishing a rapidly changing value
Delay publishing a rapidly changing value with a small React component and explicit browser behavior.
React✓ Tested
Derive a filtered list with computed
Derive a filtered list with computed with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Derive a value with computed
Derive a value with computed with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Derive totals inside a shared service
Derive totals inside a shared service with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Describe an informative image
Describe an informative image with a small React component and explicit browser behavior.
React✓ Tested