GithubHelp home page GithubHelp logo

bennkingy / cityjs-advanced-typescript-workshop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from glennreyes/advanced-typescript-workshop

0.0 0.0 1.0 410 KB

A workshop on advanced TypeScript for React developers.

Home Page: https://typescript.glennreyes.com

JavaScript 2.63% TypeScript 92.93% CSS 4.44%

cityjs-advanced-typescript-workshop's Introduction

Advanced TypeScript for React Workshop

Advanced TypeScript for React

Welcome to the "Advanced TypeScript for React: Deep Diving into Typing Techniques and Best Practices" workshop! ๐ŸŒŸ This intensive 3-hour session is designed for developers looking to elevate their TypeScript and React skills. Through hands-on exercises ๐Ÿ–๏ธ and in-depth discussions ๐Ÿ’ฌ, you'll explore advanced typing techniques, component patterns, and best practices to enhance your React applications with TypeScript.

๐ŸŽฏ Workshop Objectives

  • ๐Ÿ’ก Deepen your understanding of advanced TypeScript features and their application in React projects.
  • ๐Ÿ› ๏ธ Explore typing techniques such as discriminated union props, generic components, and forwardRef typing.
  • ๐ŸŽจ Dive into advanced component patterns, including compound and polymorphic components.
  • ๐Ÿ” Uncover miscellaneous TypeScript tips and best practices to streamline your development process.

๐Ÿ“ Folder Structure

The workshop materials are organized within a Next.js app, adhering to the following structure:

  • ๐Ÿ“š /exercises: Contains all exercise files, including one warm-up and four main exercises, each focusing on a specific aspect of advanced TypeScript in React.

๐Ÿ“ Workshop Structure & Highlights

  • Introductory Remarks: An overview of the workshop's goals and a TypeScript and React basics refresher.
  • Warm-up Exercise: A practical start with enhancing components using standard HTML attribute types.
  • Session 1: Discriminated Union Props: Understanding string literal and discriminated union props.
  • Session 2: Compound & Polymorphic Components: Delving into the flexibility of compound and polymorphic components.
  • Session 3: Generic Components: Mastering the creation of generic components for reusable code patterns.
  • Session 4: Typing Components wrapped in forwardRef: Techniques for typing components wrapped with forwardRef.
  • Session 5: Miscellaneous TypeScript Tips for React: A roundup of useful TypeScript tips for React development.
  • Closing Remarks: Summarizing the workshop's key takeaways and encouraging continued exploration.

๐Ÿš€ Getting Started

Ready to jump in? Here's how to get set up:

To kick off your advanced TypeScript journey, follow these steps:

  • ๐Ÿ“ฅ Clone the Repository:
    git clone https://github.com/glennreyes/advanced-typescript-workshop
  • ๐Ÿ“ฆ Install Dependencies:
    cd advanced-typescript-workshop
    pnpm install
  • ๐Ÿ–ฅ๏ธ Start the Development Server:
    pnpm dev
  • ๐ŸŒ Open Your Browser and navigate to http://localhost:3000 to start exploring the exercises!

Feel free to reach out if you encounter any setup issues or have questions about the exercises. Happy coding! ๐ŸŒˆ๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘ฉโ€๐Ÿ’ป

๐ŸŒŸ Additional Notes

This workshop is interactive and hands-on, emphasizing practical application and problem-solving. We encourage questions, discussions, and feedback throughout the session. Access to a GitHub repository with starter code and solutions will be provided.

Join us in this advanced workshop to refine your TypeScript skills and take your React projects to the next level! ๐ŸŽ‰๐Ÿ”ฅ

cityjs-advanced-typescript-workshop's People

Contributors

glennreyes avatar

Forkers

sipoftea

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.