Jan Amann
Jan Amann
### Is your feature request related to a problem? Please describe. This is helpful for rendering individual parts of a date with custom formatting. See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/formatToParts. ### Describe the solution...
Formatting lists of items like "A car, a bus and a bicycle." is quite tedious with the current feature set. See https://formatjs.io/docs/intl/#formatlist Note that this is currently not supported in...
**Is your feature request related to a problem? Please describe.** It would be good if some translations could be marked as optional, so no error is reported. **Describe the solution...
- [x] Make sure all used functions are imported in the code samples (focus on copy-pasting) - [x] Add a table of contents for quick scanning - [x] A standalone...
Are the benefits large enough that this is worth pursuing? If so, I guess ideally a suspense-based loader would be helpful to not have to change the API and load...
# What / Why Currently when you request the same URL two times immediately, both hit the network and will resolve with their respective response afterwards. This happens because the...
In Chrome the following code snippet … ```js (new Intl.NumberFormat('de-AT', { style: 'currency', currency: 'EUR', minimumFractionDigits: 0, maximumFractionDigits: 2 })).format(12000.12) ``` … prints "€ 12.000,12" – which is exactly as...
Example: ```jsx import clsx from 'clsx'; import styles from './Button.module.scss'; function Button({children, className, variant = 'primary', ...rest}) { return ( {children} ); } ``` ```scss @import '~styles/theme'; .root { &_variant...
SCSS: ```scss .root { &:not(.selected) { opacity: 0.5; } } ``` JS: ```jsx ``` Result: ``` Class 'selected' not found (css-modules/no-undef-class) ```
In a React project, I frequently create a stylesheet file while I have the respective JavaScript file open. E.g. coming from `Dialog.js`, I want to create `Dialog.scss`. Would you be...