Best of TypeScriptOctober 2023

  1. 1
    Article
    Avatar of dzDZone·3y

    Types vs Interfaces in Typescript

    Understand the TypeScript dilemma of types vs. interfaces, consider performance, and choose based on project needs and coding style.

  2. 2
    Article
    Avatar of amplicationAmplication·3y

    Top 6 ORMs for Modern Node.js App Development

    Learn about the importance of ORM in Node.js app development, the benefits it provides, and explore the top 6 ORM tools for modern Node.js app development.

  3. 3
    Article
    Avatar of itnextITNEXT·3y

    Full stack WebPageForm builder, NextJs, Typescript ( React ), Dnd-Kit, PostgreSQL, Prisma

    A tutorial on building a full stack PageForm builder using NextJs, TypeScript, Dnd-Kit, PostgreSQL, and Prisma. The tutorial includes features such as a drag and drop designer, various form fields, form preview, form sharing, form stats, and more.

  4. 4
    Article
    Avatar of freecodecampfreeCodeCamp·3y

    Learn Bun, a faster Node.js alternative

    Bun is a faster JavaScript and TypeScript runtime that promises to revolutionize development with its lightning-fast startup times and powerful features.

  5. 5
    Article
    Avatar of towardsdevTowards Dev·3y

    Asynchronous JavaScript

    This article explores the world of asynchronous JavaScript and how it can be managed using promises and the elegant async/await syntax. It discusses the concept of asynchronous actions in JavaScript, the use of async/await keywords, the need for error handling in async/await, and the execution order of asynchronous code. With the right tools and understanding, developers can write readable and maintainable asynchronous code in JavaScript.

  6. 6
    Article
    Avatar of habrhabr·3y

    React Custom Hook: useStorage

    Discover the potential of React custom hooks with a focus on the 'useStorage' hook. It provides convenient functions for storing and retrieving data in the browser's local or session storage. The hook handles serialization, deserialization, and automatic synchronization with the component's state. The remove function allows for easy deletion of stored values. Use the hook in various scenarios, such as persisting user preferences in a settings panel.

  7. 7
    Article
    Avatar of towardsdevTowards Dev·3y

    Why TypeScript?

    TypeScript is a syntactic superset of JavaScript that adds static typing. It makes code more self-documenting and allows developers to explore how packages can be used. However, it has a learning curve, requires an additional compilation step, and its type definitions may not always be perfect. It is seen as an investment for future-proofing applications.

  8. 8
    Article
    Avatar of habrhabr·3y

    React Custom Hook: useStateWithHistory

    Explore the benefits and use cases of the useStateWithHistory custom React hook which provides automatic history tracking, efficient memory usage, and time-travel functionality.

  9. 9
    Article
    Avatar of habrhabr·3y

    React Custom Hook: useTimeout

    Learn about the useTimeout hook in React, which allows for easy setting, clearing, and resetting of timeouts within a component. The hook ensures that the callback function remains up to date and optimizes performance by memoizing certain functions. It can be used in various scenarios where timed actions are required.

  10. 10
    Article
    Avatar of hnHacker News·3y

    The open-source React.js LLM Agent

    The open-source React.js LLM Agent is an experiment to make GPT-4 more useful for web development. It generates and composes multiple React components based on user stories and atomic design principles. It uses technologies such as React, TailwindCSS, Typescript, and Radix UI, and it is completely open-sourced.

  11. 11
    Article
    Avatar of habrhabr·3y

    React Custom Hook: useStateWithValidation

    Explore the useStateWithValidation custom React hook, which combines the useState and useCallback hooks to provide an elegant solution for managing state with validation.

  12. 12
    Article
    Avatar of discdotDiscover .NET·3y

    TypeScript Compiler Explained

    Learn about TypeScript, a superset of JavaScript, and how the TypeScript compiler works to remove type annotations before code execution. Explore the benefits and limitations of TypeScript compilation for frontend developers.

  13. 13
    Article
    Avatar of freecodecampfreeCodeCamp·3y

    How to Build a Digital Products Store with Medusa and Next.js

    Learn how to build an e-book online store using Medusa and Next.js. The tutorial covers topics such as setting up TypeScript type definitions, incorporating e-book previews into the product details, simplifying the checkout process for digital products, and delivering digital products to customers.

  14. 14
    Article
    Avatar of communityCommunity Picks·3y

    vercel/ncc: Compile a Node.js project into a single file. Supports TypeScript, binary addons, dynamic requires.

    ncc is a CLI tool for compiling a Node.js module into a single file, with the motivation of publishing minimal packages to npm and shipping relevant app code to serverless environments. It has zero configuration and built-in support for TypeScript.

  15. 15
    Article
    Avatar of communityCommunity Picks·3y

    Write your own Zod

    Learn how to create your own Zod library from scratch in Typescript, which provides runtime validation and type safety by defining schemas.

  16. 16
    Article
    Avatar of pointerPointer·3y

    formbricks/formbricks: Open Source Surveys & Experience Management Solution

    Formbricks is an open-source survey and experience management solution for fast-growing companies. It helps make customer-centric decisions based on data by allowing users to create in-product micro-surveys, choose from pre-made templates, target specific user groups, and integrate with various tools. Formbricks is built using TypeScript and other open-source technologies.

  17. 17
    Article
    Avatar of communityCommunity Picks·3y

    Ultrafast web framework for the Edges

    Hono is a small, simple, and ultrafast web framework for the Edges. It works on various JavaScript runtimes and is known for its speed, lightweightness, and support for multiple routers. It has built-in middleware and helpers, and provides a delightful developer experience.

  18. 18
    Article
    Avatar of tsTypescript·3y

    Announcing TypeScript 5.3 Beta

    TypeScript 5.3 Beta has been announced, introducing new features such as import attributes, narrowing based on comparisons, and interactive inlay hints for types. It also includes optimizations in JSDoc parsing and non-normalized intersections. The release consolidates the tsserverlibrary.js and typescript.js bundles, resulting in a reduction in package size. TypeScript 5.3 is feature-stable and will focus on bug fixes and polishing before the stable release.

  19. 19
    Article
    Avatar of itnextITNEXT·3y

    Better State Management with Nested Signals

    Learn how to simplify Angular state management with nested signals and fine-grain reactivity. Nested signals can create an effective signal-based state management system that is less bug-prone and fun to work with.

  20. 20
    Article
    Avatar of itnextITNEXT·3y

    Angular Advanced Signals

    Angular Advanced Signals introduces a simplified reactivity model that can be used to create performant, predictable reactive code. Signals can be updated in an effect using either the 'untracked' method or using 'async/await' functions. Computed signals provide a readable signal and are ideal for most use cases.