14.06

9 bookmarks
Custom sorting
Знакомимся с @scope в CSS
Знакомимся с @scope в CSS
Эта статья — перевод оригинальной статьи " An introduction to @scope in CSS ". Также я веду телеграм канал “ Frontend по-флотски ”, где рассказываю про интересные вещи из мира разработки интерфейсов....
·habr.com·
Знакомимся с @scope в CSS
Modern CSS For Dynamic Component-Based Architecture | Modern CSS Solutions
Modern CSS For Dynamic Component-Based Architecture | Modern CSS Solutions
Explore modern project architecture, theming, responsive layouts, and component design. Learn to improve code organization, dig into layout techniques, and review real-world, context-aware components that use cutting-edge CSS techniques.
·moderncss.dev·
Modern CSS For Dynamic Component-Based Architecture | Modern CSS Solutions
davidtheclark/react-aria-modal
davidtheclark/react-aria-modal
A fully accessible React modal built according WAI-ARIA Authoring Practices
·github.com·
davidtheclark/react-aria-modal
Явный дизайн в разработке приложений. Часть 0
Явный дизайн в разработке приложений. Часть 0
Эксперимент, в котором мы пробуем спроектировать и написать приложение с учётом рекомендаций и правил из разных умных книжек и статей.
·bespoyasov.ru·
Явный дизайн в разработке приложений. Часть 0
Processing Arrays non-destructively: `for-of` vs. `.reduce()` vs. `.flatMap()`
Processing Arrays non-destructively: `for-of` vs. `.reduce()` vs. `.flatMap()`
In this blog post, we look at three ways of processing Arrays: The for-of loop The Array method .reduce() The Array method .flatMap() The goal is to help you choose between these features whenever you need to process Arrays. In case you don’t know .reduce() and .flatMap() yet, they will both be explained to you. In order to get a better feeling for how these three features work, we use each of them to implement the following functionality: Filtering an input Array to produce an output Array Mapping each input Array element to one output Array element Expanding each input Array element to zero or more output Array elements Filter-mapping (filtering and mapping in one step) Computing a summary for an Array Finding an Array element Checking a condition for all Array elements Everything we do is non-destructive: The input Array is never changed. If the output is an Array, it is always freshly created.
·2ality.com·
Processing Arrays non-destructively: `for-of` vs. `.reduce()` vs. `.flatMap()`