Best of daily.dev โ December 2023
- 1
- 2
- 3
- 4
Community Picksยท2y
JS Design Patterns: A Comprehensive Guide
This post explores a range of essential design patterns in JavaScript, encompassing creational, structural, and behavioral patterns. By leveraging these design patterns, JavaScript developers can improve code reusability, maintainability, and overall system performance.
- 5
- 6
DEVยท2y
Fetch API, do you really know how to handle errors?
Learn how to handle errors when using the Fetch API and understand the best practices for error handling. Discover different approaches, such as using try/catch and checking the response status, and how to combine them for better error handling.
- 7
Community Picksยท2y
daisyUI โ Tailwind CSS Components ( version 4 update is here )
daisyUI is a plugin for Tailwind CSS that adds component class names for common UI elements, reducing the need for writing utility class names. It also offers customizable color names and a theme generator. With daisyUI, developers can create beautiful websites faster and with less code.
- 8
- 9
- 10
Substackยท2y4 simple software engineering habits that transformed my productivity
Discover key habits that can transform productivity in software engineering, including leaving work slightly unfinished, improving keyboard and mouse shortcuts, keeping a list of searchable commands and links, and learning to say 'no'.
- 11
- 12
- 13
- 14
Community Picksยท2y
Rust ๐ฆ: Why JS devs are switching to it?
Rust is gaining popularity among JavaScript and TypeScript developers. It offers a distinct memory management system, strict rules for borrowing, explicit mutability, and is a compiled language. Rust also has static and strong typing, with a focus on robust error handling.
- 15
- 16
Hacker Newsยท2y
You don't need JavaScript for that
The article discusses the rule of least power in web development, which advocates for choosing the least powerful language suitable for a given purpose. It highlights examples of using native HTML and CSS instead of JavaScript, such as creating custom switches, using the datalist element for autosuggest, utilizing the native color picker, implementing accordions, and using dialog modals. The article also mentions future features that will further reduce the need for JavaScript.
- 17
Community Picksยท2y
2024โs Tech Trend: Frontend for Backend
Frontend for Backend (FFB) is a development approach that integrates admin panels into web applications to make backend management more efficient and user-friendly. It simplifies the development process for frontend developers and allows for quick and easy adjustments through the frontend.
- 18
- 19
- 20
builder.ioยท2y
Next.js 14: Layouts vs Templates
Next.js 14 introduced layouts and templates for building UI in web applications. Layouts act as persistent UI shells that wrap around pages, while templates remount with each page transition. Layouts ensure consistency, maintain state, and boost performance, while templates provide isolation, behavioral flexibility, and the ability to alter default behaviors. Choosing between layouts and templates depends on the specific needs of each page and the desired balance between user experience and performance.
- 21
Bootcampยท2y
LinkedIn, But Better
The article discusses the need for a redesign of LinkedIn due to UX frustrations, such as a lack of a 'Saved' option and limited article discoverability. The redesign aims to make the platform more accessible, less cluttered, and personalized. It introduces features like a 'Saved' option, improved networking functions, a home screen for 'Stories,' and a separate tab for articles. The design also focuses on dark mode, consistent icons and components, and a standardized notification format.
- 22
- 23
- 24
freeCodeCampยท2y
Learn JavaScript by Building 21 Projects โ a Major freeCodeCamp Curriculum Update
freeCodeCamp has launched a major update to the JavaScript Algorithms and Data Structures Certification. Readers can now learn JavaScript by building 21 projects, including certification projects. The projects cover a wide range of topics and concepts, such as form validation, string and array methods, recursion, functional programming, regular expressions, object-oriented programming, and more.
- 25
Bits and Piecesยท2y
A Modern Approach to React Development
Learn about a modern and efficient solution for React development called Bit. It allows for component isolation, code sharing, specialization, collaboration, and better testability. See how to install Bit in a React project and explore the benefits of using it for React development.