devmeetings-react-ts-fork
  • Devmeeting React + Typescript
  • Speed dating
  • Typescript
    • It's just JavaScript
    • Basic types
    • Typing objects
    • Typing functions
    • Modules
    • Generics
    • Tasks
  • Hello React
    • Quick look around
    • The first component
    • JSX
    • Tasks
  • Components & Props
    • Small components
    • Passing data to a component
    • Loops in JSX
    • Tasks
  • Stateful components
    • Handling events
    • Components with internal state
    • Talking to a parent component
    • Smart and dumb components
    • Before the break
    • Tasks
  • Side-effects and context
    • Side-effects
    • Prop drilling
    • Using context
    • Tasks
  • What's next
    • Styling
    • Learning component's lifecycle
    • State Management
Powered by GitBook
On this page

Was this helpful?

  1. Typescript

Tasks

PreviousGenericsNextHello React

Last updated 5 years ago

Was this helpful?

Hint: tasks often depend on previous tasks being already completed - it's best to do them in order.

Hint: It's okay to get stuck. If you do, first check your terminal for TypeScript errors and if there are any, try solving them starting with the top one. If that doesn't work then ask your mate or look for a mentor.

Hint: Some tasks are marked as optional using the emoji - those are extra tasks that are usually a little bit harder. It's great if you manage to complete them, but they are not necessary for next modules.

1. Add types to the code from the "It's just javascript" section

You'll find the code , either edit it inline or copy it over to your editor.

⭐
here