Building User Interfaces Using Functional React Components (Coursera)

Building User Interfaces Using Functional React Components (Coursera)
Course Auditing
Categories
Effort
Certification
Languages
Misc

MOOC List is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Building User Interfaces Using Functional React Components (Coursera)
React Components are generally implemented using Classes. Although they work well, they have their own set of limitations. The stateful logic provided by the class components lack reusability. To enhance the productivity, codes developers are expected to develop codes with reusability.

MOOC List is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

This course will enable you to develop simple, readable, React components with reusable stateful logic using JavaScript functions and React Hooks. You will also explore the different React Hooks and test the stateful logic.


What You Will Learn

Build React functional components and create reusable and testable stateful logic using React Hooks


Syllabus


WEEK 1

Build React Components using Functions and React Hooks

"A component is the fundamental unit of an SPA which is reusable as it can exist independently. In React, the state of the component is managed within the component. It is therefore recommended to develop a reusable stateful logic that can be used by multiple components. As a React developer, you need to create function components that support Hooks for creating reusable stateful logic .In this learning sprint, you will explore built-in React Hooks and develop custom Hooks with reusable stateful logic. The hands-on assignments included in this learning sprint will enable you to manage state in function components, create side effects like fetching data from the server or handling timer events using built-in React Hooks. You will also learn to develop reusable stateful logic using custom Hooks."


WEEK 2

Test Custom Hooks Using React Hooks Testing Library

"Any unit of the code written should be testable. In React, the custom Hooks help to develop reusable stateful logic and hence, as a developer you should write a test code to test the custom Hooks.In this learning sprint, you will explore the functionalities provided by the react-hooks-testing-library for testing custom Hooks. The hands-on assignments included with the sprint will enable you to write test cases to test custom Hooks that manage the state of the component with event triggers, asynchronous server calls and change in props or context values."



MOOC List is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Course Auditing
42.00 EUR

MOOC List is learner-supported. When you buy through links on our site, we may earn an affiliate commission.