We add state to a React application by using the state hook - useState . Write the following code in the file App.js : import React, { useState } ...
確定! 回上一頁