#Components
4 notas · última:
15 React Component Principles & Best Practices for Better Software Architecture & Design
The article lists 15 React component practices aimed at cleaner, more maintainable apps: favor function components, named components, smaller components, fewer props, hooks, custom hooks, error boundaries, and Suspense.
Symptoms of an Angular Disorder
The article treats recurring Angular code smells as symptoms of deeper project problems, focusing on component over-flexibility, tight coupling, heavy templates, many subscriptions, manual change detection, and missing directives.
Creating Reusable Pagination Controls for Ember.js
The post shows how to build an Ember component for pagination using Foundation markup, computed properties, and actions, then extend it with previous/next arrows and truncated page lists.
Simple Pagination in Ember ArrayControllers
The post builds pagination for an Ember ArrayController by adding page and perPage properties, deriving paginatedContent and pages, then moving the logic into a reusable mixin and a pagination-links component.
