stackup-dev / open-source-campaign

Repository for StackUp's Open Source Campaign
11 stars 50 forks source link

Kickstart with Typescript #21

Open rajk16 opened 1 year ago

rajk16 commented 1 year ago

Name of Proposer

raj16

Campaign Name

Kickstart with typescript

Campaign Description

This campaign should aim to provide stackies about the basic overview of Typescript language and how it adds more strictness to existing Javascript and makes it easier to rectify errors at compile time instead of run time. It aims to provide basic knowledge of typescript to beginners as it is just an extension to javascript. As most of the big giants like Google, Facebook, Microsoft, etc are working on this language, so it has a global scope that will increase with time, so it is necessary to get knowledge of this.

Number of Quests

It should have 2 quests

Quest 1 Summary

This quest should discuss the origin of typescript, who developed it and how it adds power to vanilla javascript. We can use their documentation to get all this information. It will help stackies to understand the thinking behind the development of typescript and its need.

Quest 1 Learning Objectives

Origin of typescript. How is it different from Javascript. Its advantages and disadvantages.

Quest 1 Deliverables

NA

Quest 2 Summary

This quest will teach stackies the fundamental concepts of typescript like data types, variables, functions, etc. Some videos can be provided to stackies explaining few important concepts. It will help stackies to get familiarize with the typescript.

Quest 2 Learning Objectives

-> Data types, variables, operators -> Loops, functions, array, tuples -> Union, interfaces, classes, objects

Quest 2 Deliverables

Can take a quiz after both the quests that should check the fundamental knowledge of typescript.

No-Cash-7970 commented 1 year ago

I think the TypeScript campaign(s) should be roughly similar to the JavaScript campaign(s). Maybe even have the same projects, like the Task List Web App, but with TypeScript instead of JavaScript.

marsidev commented 1 year ago

I like the idea of a TypeScript campaing with 2 theorical quests (quizes) and a third coding quest.

The coding quest could be a simple React app, like a ToDo app.

As extra suggestions, I'd say to use updated versions of both TS (v4.6+) and React (v17+), and use Vite over Create React App.