Best of TypeScriptJanuary 2023

  1. 1
    Article
    Avatar of awstipAWS Tip·3y

    MERN stack for Web Development

    MERN stack comprises a collection of four frameworks used to develop full-stack javascript solutions for rapid, scalable, and secure applications. All frameworks are open-source and have room for designing flexible and scalable applications. Ease of learning the frameworks as they follow similar patterns and support quality collaboration.

  2. 2
    Article
    Avatar of itnextITNEXT·3y

    Mastering TypeScript: 21 Best Practices for Improved Code Quality

    TypeScript is a widely used, open-source programming language that is perfect for modern development. With its advanced type system, TypeScript allows developers to write code that is more robust, maintainable, and scalable. In this article, we'll dive deep into the world of TypeScript and explore 21 best practices for mastering the language.

  3. 3
    Article
    Avatar of logrocketLogRocket·3y

    Applying SOLID principles to TypeScript

    The SOLID principles are intended to improve the readability, adaptability, extensibility and maintainability of object-oriented designs. The abbreviation SOLID was later coined by Michael Feathers to illustrate the ideas identified by Uncle Bob. In this article, we’ll go over each of the SOLIDs principles, providing TypeScript examples.

  4. 4
    Article
    Avatar of codemotionCodemotion·3y

    Which Programming Languages Will Rule 2023?

    This list will help you find the language that best suits your needs or aspirations as a professional. It doesn't have the intention to become an absolute ranking of the best or most used languages but to offer insight and useful facts to understand why the selected languages will continue to be important for developers for different reasons throughout the year.

  5. 5
    Article
    Avatar of sitepenSitePen·3y

    Intro to tRPC

    TRPC is a typesafe Remote Procedure Call framework. Zod allows you to define a schemas, use it for validation, and then infer the TypeScript type based on thatschema. We can get started with a basic Next application, and add a few additional dependencies in order to use tRPC.

  6. 6
    Article
    Avatar of communityCommunity Picks·3y

    How to Build a React component library?

    How to build a React component library? In this article I tried to talk the steps of creating a react component library. The best way to test our package locally is Storybook. We should publish our package in our peerDependencies to prevent rollup to add these packages in our bundle.

  7. 7
    Article
    Avatar of mlnewsMachine Learning News·3y

    Top Artificial Intelligence (AI) Tools That Can Generate Code To Help Programmers

    OpenAI Codex is powered by OpenAI Codex, a model based on GPT-3. It claims it can write code in at least 12 different languages, including BASH, JavaScript, Go, Perl, PHP, Ruby, Swift, and TypeScript.

  8. 8
    Article
    Avatar of elixirstatusElixirStatus·3y

    Automatically convert a JSON to a TypeScript object with ONE LINE!

    A new, tinier, faster and all-around better version of my package: tapi.js You can now do this! h … and more! This package you automatically convert JSON data into a TypeScript, along with automatic processing of the incoming data.

  9. 9
    Article
    Avatar of devtoDEV·3y

    Typescript: Introduction

    Typescript is a superset of JavaScript and uses type inference to give you great tooling without additional code. It allows you to code in a manner so that your code faces much less error in the run time or production. Don't use typescript if your project is small. It's all about the Type safety.

  10. 10
    Article
    Avatar of communityCommunity Picks·3y

    Making sense of TypeScript using set theory

    Some low-level behaviors still confuse me, but I sometimes confuse "subtype" and "supertype" I've been working with TypeScript using set theory for a long time. I think I'm not too bad at it, but to my despair, some low level behaviors still confused me. I'm very ashamed.

  11. 11
    Article
    Avatar of itnextITNEXT·3y

    4 ways to implement Factory Pattern in Javascript

    Factory Pattern is a type of creational pattern that usually describes common aspects of entities by creating a base class, and allows sub-classes to inherit its behaviour and alter it. This article will include both Javascript and Typescript examples. For example, we want to implement Euro, Dollar and British Pounds wallets.

  12. 12
    Article
    Avatar of freecodecampfreeCodeCamp·3y

    How to Use TypeScript in React Apps

    TypeScript takes all the functionalities and structures JavaScript provides as a language, and adds a few things to that. The main thing TypeScript provides is static typing. When it comes to React, we can mainly use TypeScript to type two things: component props and hooks.