sentry icon indicating copy to clipboard operation
sentry copied to clipboard

[JavaScript] React

Open shellmayr opened this issue 1 year ago • 1 comments

shellmayr avatar Oct 18 '24 07:10 shellmayr

  • Created a new React app using create-react-app
  • installed sentry via npm
  • copy-pasted init code from getting started - bit annoyed that there is an empty //... comment in my code now
  • I am confronted with some hints about profiling - I don't care about this right now, but the text does not tell me whether this is optional
  • New project selection flow in wizard feels very smooth
  • Why does our wizard not auto-detect that i'm using create-react-app?
  • Why does our wizard not know where create-react-app puts build artifacts? I'm not offered a default
  • When refreshing the onboarding flow, I lose track of my progress
  • The Snippet for React is just a return statement, shouldn't his maybe be a React component I can easily embed in my app?
  • My error takes its sweet time to arrive, I'm wondering if I configured the correct DSN?
  • The Snippet for React actually prevents the app from starting / compiling and does not send an error to Sentry - how is this supposed to show me how Sentry works?
  • Creating a different error works and sends something to Sentry:
  return <button onClick={() => {throw new Error("This is your first error!");}}>Break the world</button>;
}
  • Automatically having replays setup is really nice

shellmayr avatar Oct 18 '24 08:10 shellmayr