FredKSchott / create-snowpack-app

The all-in-one app template for Snowpack. [moved]

Home Page:https://www.snowpack.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-error-overlay for react-* templates

popuguytheparrot opened this issue · comments

Hi.

I would like to see react-error-overlay during development. It will increase DX and make convenient migration from CRA

+1, we've been doing some work on the server-side to support this, lets keep the discussion going over there: FredKSchott/esm-hmr#3

The two things to support here are (both in the HMR client):

  • there was a server error reported to the client
  • there was a runtime error (caught in our HMR client via window.addEventListener('error', ...).