logo

Crowdly

Browser

Додати до Chrome

Advanced Frontend with React.js [Eng+Ukr]

Шукаєте відповіді та рішення тестів для Advanced Frontend with React.js [Eng+Ukr]? Перегляньте нашу велику колекцію перевірених відповідей для Advanced Frontend with React.js [Eng+Ukr] в softserve.academy.

Отримайте миттєвий доступ до точних відповідей та детальних пояснень для питань вашого курсу. Наша платформа, створена спільнотою, допомагає студентам досягати успіху!

How would you define a HOC named withExtraProps that adds extra props to a component?

0%
0%
0%
33%
Переглянути це питання

Will the next code compile with TypeScript?

  let s = "hello"

  s = 1;

Переглянути це питання

Suppose, you have a variable defined like this:

let helloWorld = "Hello World";

What statement is correct?

Переглянути це питання

Please, choose how the TypeScript works with the code like this:

interface Course {

name: string;

totalHours: number;

id: number;

}

const course: Course = {

name: "Math",

totalHours: 50

};

Переглянути це питання

Will the next code compile? Please, choose the correct option.

interface Person {

  name: string;

  surname: string;

}

 

function logPerson(p: Person) {

  console.log(`${p.name}, ${p.surname}`);

}

 

const person = { name: "Paul", surname: "Mass" };

logPerson(person);

Переглянути це питання

Please, select the type representing any possible type of React node (ReactElement + primitive JS types)

Переглянути це питання

Please, select the type the following statement is about:

A type representing a concept of React Element - representation of a native DOM component (e.g. <div />), or a user-defined composite component (e.g. <MyComponent />)

0%
0%
0%
0%
Переглянути це питання

Please, create a type definition for an array where each value is an object with name property of string type

Переглянути це питання

Please, select how we can annotate a function that takes no arguments and returns a value of type Course

Переглянути це питання

Is the code below correct? What is the result of compilation of this code?

function loggingIdentity<Type>(arg: Type): Type {

  console.log(arg.length);

  return arg;

}

Переглянути це питання

Хочете миттєвий доступ до всіх перевірених відповідей на softserve.academy?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!

Browser

Додати до Chrome