wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

React 101

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

myReactApp isimli bir React projesi başlatmak için kullandığımız komut nedir ?

a)

npm create-react-app

b)

npx create-react-app

c)

npx create-react-app myReactApp

d)

npm create-react-app myReactApp

2.

Bu komutta myReactApp neyi temsil ediyor?

a)

app-create in tipi

b)

Yeni uygulamanız için kullanmak istediğiniz isim

c)

Var olan bir uygulamaya referans

d)

Yeni uygulamanın yaratılacağı dosya isimi

3.

React uygulamamızı local ortamınızda başlatmak için kullandığınız komut nedir?

a)

npm go

b)

npm start

c)

npm build

4.

React uygulamanızı production'a koymak ve en performanslı hale getirmek için kullandığınız komut nedir?

a)

npm prep

b)

npm start

c)

npm run build

d)

npm test

5.

React uygulamalarının default portu nedir?

a)

3000

b)

4000

c)

2000

d)

6000

6.

Bu kod hangi elementi döndürür?

function Car() {

  return <h1>Ford Mustang</h1>;

}

const root = createRoot(document.getElementById('root'));

root.render(<Car />);

a)

div

b)

h1

c)

Component

d)

ReactDOM

7.

JavaScript'de constant değişken yapmak için hangi anahtar kelimeyi kullanırız ?

a)

var

b)

constant

c)

const

d)

let

8.

React hangi firma tarafından geliştirilmiştir?

a)

Microsoft

b)

Amazon

c)

Google

d)

Meta (Facebook)

9.

map() methodu hangi anahtar kelimeyi almazsa elementleri sürekli baştan renderlaması gerekir ?

a)

val

b)

pos

c)

value

d)

key

10.

Hangisi bir React Hook'u değildir

a)

useState

b)

UseRef

c)

useMap