BFE.dev
React コーディング問題1. the React Counter app

1. the React Counter app

React
シェアしよう

  - accepted / - tried

As the first React problem, you are asked to create the famous Counter app.

  1. counter starts from 0.
  2. click the '+' button to increment.
  3. click the '-' button to decrement.

data-testid is used to test your code, please do not remove them.

次へ

バッグフリーで普通なコードは何より。

解答AI投稿(382)

Try it out

Console