Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I opened the docs page, tried editing one of the examples, the page immediately crashed. You may be interested in setting up some error boundaries between your components.

  Unexpected Application Error!
  Cannot read properties of null (reading 'alternate')
  TypeError: Cannot read properties of null (reading 'alternate')
    at Uh (https://tenno.app/assets/index-y2OkIpP6.js:38:18238)


Right, I did not put a lot of checks in place for such failures. Does it keep happen if you refresh? I've never seen it TBH https://tenno.app/docs


Yup, still happens. The easiest way to reproduce it to change a title of one of the charts to `title=""` (make sure to type it, not copy-paste). I'm using Safari for macOS if this makes a difference.

  Unexpected Application Error!
  Unexpected EOF
    eval@[native code]
    parseChartCommand@https://tenno.app/assets/index-y2OkIpP6.js:114:333


Ah, yes, I just fixed that. While you edit, if the code is not valid now it will prevent from crashing the whole thing (band-aid fix).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: