Best of TypeScriptJanuary 2024

  1. 1
    Article
    Avatar of devtoDEV·2y

    What is the ideal Tech stack to build a website in 2024? 👨‍💻

    The post discusses the author's preferred tech stack for building a website in 2024, including the use of Typescript, Reactjs or Vuejs, Postgres, and Redis. It mentions the pros and cons of these technologies and acknowledges that not all organizations are using frameworks.

  2. 2
    Video
    Avatar of t3dotggTheo - t3․gg·2y

    This VS Code Killer Just Went Open Source (Written In Rust BTW)

  3. 3
    Article
    Avatar of communityCommunity Picks·2y

    Typescript Book

    The Concise TypeScript Book is a comprehensive and succinct overview of TypeScript's capabilities. It is a valuable resource for developers of all levels, and is available for free as an open source project.

  4. 4
    Article
    Avatar of medium_jsMedium·2y

    Things You Don’t Know About Next.js

    NextJS 14 promises a faster, more enjoyable development journey for React developers. This post reveals concepts of NextJS that many developers may not know, such as using Route Group functionality for organizing folder structures, leveraging the Metadata API for improved SEO, and creating active links in Next.js for enhanced user experience.

  5. 5
    Article
    Avatar of communityCommunity Picks·2y

    Proxy in TypeScript

    Proxy is a design pattern in TypeScript that provides a substitute object for a real service object, allowing for additional behaviors without changing client code.

  6. 6
    Article
    Avatar of devtoDEV·2y

    #2 React Query: Infinite Scroll

    This post discusses the amazing feature of infinite scroll in react query, a state management tool. It explains how infinite scroll is a type of pagination and provides code examples for implementation.

  7. 7
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    Beginner Web Dev Tutorial – Build a Weather App with Next.js & TypeScript

    A beginner's web dev tutorial on building a Weather App using Next.js, Tailwind CSS, and TypeScript.

  8. 8
    Article
    Avatar of supabaseSupabase·2y

    Using React Query with Next.js App Router and Supabase Cache Helpers

    Learn how to use React Query with Next.js App Router and Supabase Cache Helpers. The article provides step-by-step instructions for installing dependencies, creating a React Query client, generating TypeScript types, creating Supabase clients, automating query key management, writing reusable queries, and fetching data server-side and client-side. The post concludes by discussing the benefits and use cases of using React Query with Server Components.

  9. 9
    Article
    Avatar of communityCommunity Picks·2y

    Wedges — Open-source UI components for React • Lemon Squeezy

    Wedges is an open-source collection of UI components for React, designed with Wedges Design System, Radix UI, and Tailwind CSS. It simplifies the process of building beautiful and customizable user interfaces, with features such as fast and modern components, accessibility compliance, customizable themes, and support for dark mode. Wedges is designed by professionals and is built with Radix Primitives to ensure WAI-ARIA compliance. Lemon Squeezy is a platform used by thousands of successful startups and digital creators. They provide exceptional customer support and offer resources like the Creator Guide and the Merchant of Record Guide. Merchandise is also available, and users can book a demo to explore Lemon Squeezy's capabilities.

  10. 10
    Article
    Avatar of communityCommunity Picks·2y

    Solving TypeScript Errors Tutorial

    This tutorial provides practical solutions for common TypeScript errors, including type mismatches, undeclared properties, nullability issues, incompatible property types, unknown types, indexing issues, class property initialization challenges, type conversion, naming conflicts, and missing type declarations in JavaScript modules.

  11. 11
    Article
    Avatar of communityCommunity Picks·2y

    Valibot: The modular and type safe schema library

    Valibot is a modular and type safe schema library for validating unknown data. It offers type safety, small bundle size, support for various TypeScript types, 100% test coverage, included helpers, and a great developer experience. Valibot is available free of charge under the MIT License.

  12. 12
    Article
    Avatar of devtoDEV·2y

    Mastering TypeScript: Looping with Types

    This post explores advanced TypeScript looping techniques, including Mapped Types, Recursion, and Union Types, and their significance in enhancing code maintainability, type safety, and expressiveness.

  13. 13
    Article
    Avatar of communityCommunity Picks·2y

    Master Generic in TypeScript

    Learn about generics in programming and how they enable the creation of reusable code in JavaScript and TypeScript.

  14. 14
    Article
    Avatar of devtoDEV·2y

    What is JSDoc and why you may not need typescript for your next project?

    Explore JSDoc, TypeScript, and their purposes. Understand the problems they solve and how to type check code using TypeScript compiler in a JavaScript + JSDoc codebase.

  15. 15
    Article
    Avatar of devtoDEV·2y

    Writing type safe API clients in TypeScript

    Learn how to write type safe API clients in TypeScript using openapi-typescript and axios. Generate the schema from an OpenAPI spec file, integrate it into your API layer, and make API calls using the generated client. Discover the benefits and caveats of this approach.

  16. 16
    Article
    Avatar of devtoDEV·2y

    Modeling Authorization in Prisma - No Theory, Just Code

    This post provides examples of different authorization patterns using Prisma and ZenStack. It covers the Access Control List (ACL), Role-Based Access Control (RBAC), Attribute-Based Access Control (ABAC), and multi-tenancy patterns. The examples show how to implement these patterns and highlight the benefits of using ZenStack for declarative authorization rules.

  17. 17
    Video
    Avatar of communityCommunity Picks·2y

    Vim As Your Editor - Introduction

  18. 18
    Article
    Avatar of logrocketLogRocket·2y

    Creating an AI photo generator and editing app with React

    Learn how to build a web application using cloud-based AI with features like generating photorealistic images, removing backgrounds and objects from images, and facial restoration.

  19. 19
    Article
    Avatar of logrocketLogRocket·2y

    How to use import attributes in TypeScript and JavaScript

    Learn how to use import attributes in TypeScript and JavaScript to improve code organization, reusability, efficiency, stability, and security in web apps. Install TypeScript v5.3 and configure your project to use import attributes. Explore the technical details of import attributes and how they can enhance security and stability. Understand the limitations and potential errors associated with import attributes. Discover alternate methods for achieving similar functionality. Gain insights into the benefits and drawbacks of import attributes. Improve program quality and development experience by leveraging import attributes.