리액트에서 에러 처리를 위한 react-error-boundary 사용하기
원문: Kent C. Dodds, "Use react-error-boundary to handle errors in React"
이 코드는 무엇이 잘못되었을까요?
import * as React from 'react'
import ReactDOM from 'react-dom'
function Greeting({subject}) {
return <div>Hello {subject.toUpperCase()}</div>
}
function ...
codesnapmag.hashnode.dev6 min read