Best of TypeScriptAugust 2023

  1. 1
    Article
    Avatar of hackernoonHacker Noon·3y

    Building a Full Stack Airbnb Clone with Next.js, Tailwind CSS, Amplication, and More

    Building a Full Stack Airbnb Clone with Next.js, Tailwind CSS, Amplication, and more. The platform is centered around the concept of a low-code development environment. Amplication is an open-source development tool designed to simplify and expedite the process of building web applications.

  2. 2
    Article
    Avatar of itnextITNEXT·3y

    Build a Full Stack ReminderApp with React, NextJs, Typescript, ServerAction, Zod, Hook-form, Prisma, and Tailwind

    Build a Full Stack ReminderApp with React, NextJs, Typescript, ServerAction, Zod, Hook-form, Prisma, and Tailwind. Hi everyone, I published my last video: Build a full stack Reminder App.

  3. 3
    Article
    Avatar of habrhabr·3y

    React Custom Hook: useArray

    "useArray" hook is one of the many carefully crafted hooks available in the collection of React custom hooks. The useArray hook uses the useState hook from React to manage the array state. The advantages of using this custom hook are twofold: it simplifies the management of array states and provides a cleaner and more readable code structure.

  4. 4
    Article
    Avatar of itnextITNEXT·3y

    Build a drag and drop Kanban Board with React, Typescript, Tailwind, Dnd-Kit

    Build a drag and drop Kanban Board with React, Typescript, Tailwind, Dnd-Kit. This project is a great way to practice your React skills and learn some new techniques and libraries. So what are you waiting for? Check out the video below and let me know what you think in the comments.

  5. 5
    Article
    Avatar of tkdodoTkDodo·3y

    Array Types in TypeScript

    Matt Pocock ran a poll about the usage of (generic syntax) vs (array syntax), and the result of that poll was baffling to him. More than 78% of people on Twitter are just flat out wrong, he says. There is absolutely no functional difference between the two notations.

  6. 6
    Article
    Avatar of communityCommunity Picks·3y

    Type vs Interface: Which Should You Use In 2023?

    Type aliases can express any type. Interfaces can't express unions, mapped types, or conditional types. Interfaces have been present since the very first version of TypeScript. They're inspired by object-oriented programming and allow you to use inheritance to create types.

  7. 7
    Article
    Avatar of tilThis is Learning·3y

    Learning Web Development Together with a Real Project

    The app is currently based on Next.js with TypeScript and Tailwind CSS. We manage some data, specifically from the GitHub APIs using the GraphQL endpoint and React Query. There's a login feature with NextAuth using GitHub as a provider. The project is open to any kind of contribution, from fixing typos to adding new features.

  8. 8
    Article
    Avatar of wundergraphWunderGraph·3y

    5 Best Practices for Backends-for-Frontends

    The Backends-for-Frontends (BFF) pattern is an interesting solution to a problem many teams face. BFF stands for Backend For Frontend, and it’s a very clever way to architect your application in a way so that no matter how many different frontend experiences you offer, the core backend services remain intact.

  9. 9
    Article
    Avatar of habrhabr·3y

    React Custom Hook: useAsync

    The useAsync hook takes in a callback function that performs the asynchronous operation and an optional array of dependencies. It returns an object with three properties: loading, error, and value. The hook employs the useState and useEffect hooks to manage the loading state and invoke the memoized callback function when necessary.

  10. 10
    Article
    Avatar of habrhabr·3y

    React Custom Hook: useDarkMode

    "UseDarkMode" Hook is one of the many carefully crafted hooks available in the collection of React custom hooks. It combines two other handy hooks and, to provide a seamless dark mode experience. It automatically detects the user's preferred color scheme and persists the dark mode state in the browser's local storage.

  11. 11
    Article
    Avatar of communityCommunity Picks·3y

    HTMX: The Game-Changing Alternative to React

  12. 12
    Article
    Avatar of habrhabr·3y

    React Custom Hook: useClickOutside

    The useClickOutside hook is designed to simplify the process of detecting clicks outside a specified component. It listens for click events on the document level, allowing you to trigger a callback function when a click occurs outside the provided component's reference. It works seamlessly with functional components using the useState and useRef hooks.

  13. 13
    Article
    Avatar of habrhabr·3y

    React Custom Hook: useDebugInformation

    React Custom Hook: useDebugInformation is one of the many carefully crafted hooks available in the collection of React custom hooks. The hook tracks the number of renders, changed props, time since the last render, and the timestamp of the last rendering. UseDebugInformation can be applied in various scenarios.

  14. 14
    Article
    Avatar of devblogsDevBlogs·3y

    Announcing TypeScript 5.2 RC

    Announcing TypeScript 5.2 RC, we expect no further changes apart from critical bug fixes. Since the Beta, we’ve added a type-checking optimization and made it possible to reference the paths of TypeScript implementation files in type-only imports. Declarations and Explicit Resource Management TypeScript5.2 adds support.

  15. 15
    Article
    Avatar of habrhabr·3y

    React Custom Hook: useCookie

    React Custom Hook: useCookie is one of the many carefully crafted hooks available in the collection of React custom hooks. UseCookie allows you to effortlessly handle cookies by providing a concise interface. In scenarios where you need to remove a cookie, the deleteCookie function comes to the rescue.

  16. 16
    Article
    Avatar of tsTypescript·3y

    Announcing TypeScript 5.2

    TypeScript 5.2 is a language that builds on top of JavaScript by making it possible to declare and describe types. Declarations and Explicit Resource Management.2 adds support for the upcoming explicit Resource Management feature in ECMAScript. It's common to need to do some sort of "clean-up" after creating an object.

  17. 17
    Article
    Avatar of communityCommunity Picks·3y

    Introducing StoryLite ⚡️, a lightweight alternative to StoryBook

    StoryLite is a lightweight alternative to StoryBook Lightweight drop-in app for rapid React component development and visualisation. It's written in TypeScript and powered by the blazing-fast Vite, it offers a streamlined way to preview your components in an isolated environment without the overhead of a full-fledged Storybook setup.

  18. 18
    Article
    Avatar of devtoDEV·3y

    VSCode for PHP and Laravel

    VSCode for PHP and Laravel development is a solid base configuration that can be expanded upon using additional workspace specific configurations. Intelephense is the most important extension to install for PHP support. Phpactor is a PHP Language Server with more features than you can shake a stick atphpactor.

  19. 19
    Article
    Avatar of habrhabr·3y

    React Custom Hook: useFetch

    React Custom Hook: useFetch is one of the many carefully crafted hooks available in the collection of React custom hooks. UseFetch handles the network request, parses the JSON response, and provides the resulting data. The hook also offers flexibility through its customizable options parameter.