本文會逐步講解如何使用useState() Hook。 ... import React, { useState } from 'react'; function Bulbs() { const [on] = useState(false); return ...
確定! 回上一頁