Best of MediumNovember 2023

  1. 1
    Article
    Avatar of medium_jsMedium·3y

    React Folder/File Structure Patterns and Tips: Part 2

    This article provides tips and best practices for organizing folder and file structures in React projects. It suggests creating a 'shared' folder for common components, using an 'index.js' file for every component and page, importing files to one file and exporting from it, getting rid of relative path hell, and keeping components length short.

  2. 2
    Article
    Avatar of medium_jsMedium·3y

    Unlocking the Power of PHP Generators

    PHP generators provide a way to iterate over large datasets or arrays without loading everything into memory. They work by processing one piece of data at a time using the 'yield' keyword. Generators can also receive input and return values. They are useful for memory management and handling large files.

  3. 3
    Article
    Avatar of medium_jsMedium·3y

    Is React Killing Angular?

    React and Angular are both popular JavaScript frameworks with their own strengths and niches. React is known for its simplicity and flexibility, making it popular for smaller projects and startups. Angular, on the other hand, has a more opinionated structure and extensive features that cater to larger enterprise applications. The choice between React and Angular depends on the specific requirements of the project.

  4. 4
    Article
    Avatar of medium_jsMedium·3y

    Frontend Weekly Digest #337 (13–19 November 2023)

    This digest includes articles on web development, CSS, JavaScript, React, Vue, and Angular.

  5. 5
    Article
    Avatar of medium_jsMedium·3y

    Javascript Interview Question: Write a function which deep clones a object

    A deep clone function in JavaScript creates a completely independent copy of an object or array, including all nested objects and arrays. It is important to use the appropriate cloning method in production applications.

  6. 6
    Article
    Avatar of medium_jsMedium·3y

    08 Amazing Tools For Designers 🤩

    Discover 08 amazing tools for designers that can enhance your creative journey. These tools include FocuSee, Culrs, Wannathis, Loom, Spline, Img Upscaler, Vectary, and Savee.

  7. 7
    Article
    Avatar of medium_jsMedium·3y

    What’s new in Angular v17 and How to Get Started

    Angular v17 introduces several new features including deferrable views, built-in control flow, SSR optimization, and a fresh new look. Beginners can get started by following the official tutorial on the Angular website.

  8. 8
    Article
    Avatar of medium_jsMedium·3y

    A Modern Approach for Angular Development

    Learn about Bit, a modern solution for component isolation in Angular development. Discover the benefits of app composability and how to integrate Bit into your Angular project. Simplify component management, improve collaboration, and enhance productivity.

  9. 9
    Article
    Avatar of medium_jsMedium·3y

    You’re Doing Type Validation Wrong: A TypeScript Guide to Runtime Validation

    This article explores the concept of runtime type validation in TypeScript and introduces the Zod library as a tool to achieve it. It also discusses the distinction between nominal type systems and structural type systems in TypeScript and provides a workaround to add nominal type support using branded types. Overall, the article highlights the importance of type validation and offers different approaches to implement it in TypeScript.

  10. 10
    Article
    Avatar of medium_jsMedium·3y

    Is technology harming our brains?

    Technology and instant gratification are harming our brains by providing unlimited dopamine, leading to addiction and time spent in the emotional area of the brain. We are also relying on Google for problem-solving, reducing the need for our own memory retention. Excessive screen time during brain development years can increase the risk of Alzheimer's and dementia. To mitigate the harm, delaying gratification and staying mentally active are recommended.

  11. 11
    Article
    Avatar of medium_jsMedium·3y

    Top Rust Libraries

    Discover the process of using Rust libraries, their cross-platform compatibility, and the memory safety of Rust. Explore popular Rust libraries like Serde, Lazy_static, Thiserror, Itertools, and Anyhow. Learn about scientific Rust libraries for geospatial calculations and bioinformatics solutions, audio and sound libraries, cryptographic libraries, date and time libraries, and miscellaneous libraries for managing temporary files, handling URLs, making HTTP requests, and using regular expressions.

  12. 12
    Article
    Avatar of medium_jsMedium·3y

    I interviewed 3 designers & hired 0 of them — here’s why

    The article discusses common mistakes made by designers during interviews, including not choosing relevant case studies, not being able to articulate the impact of projects, and not explicitly stating their contributions. It also emphasizes the importance of collaboration and handling challenges. The article provides tips for designers to improve their interview performance.

  13. 13
    Article
    Avatar of medium_jsMedium·3y

    You don’t need features, you need a product team

    Powerful stakeholders often demand features without good reasoning, leading to feature factories that prioritize stakeholder wants over user needs. Feature factories result in high costs and low value. In contrast, product teams focus on goals and outcomes, allowing them to adapt and make decisions independently. Moving from a feature factory to a product team requires changing management and evaluation processes.

  14. 14
    Article
    Avatar of medium_jsMedium·3y

    Practical Web Scraping for Data Analysts

    Learn what web scraping is and how to scrape an e-commerce website using Python. Use libraries such as BeautifulSoup, csv, pandas, and requests.