• Accueil
  • Exemples
    Native features
    SSR (getServerSideProps)SSGSSG using fallbackSSG using revalidateCatch-all routes
    Built-in features
    HostingStages & secretsCI/CDStatic i18nMonitoringAPI (Airtable)CSS-in-JSCookies consentAnalyticsIconsCSS AnimationsUI components libraryDocs siteMarkdown as JSX
    Built-in utilities
    I18nLink componentAirtableAsset componentHooksHOCsAPIErrors handlingBundle analysisSVG to ReactSecurity auditTracking useless re-renders
  • Documentation
  • Code source
  • Aller au CMS

Built-in features

  • Hosting
  • Stages & secrets
  • CI/CD
  • Static i18n
  • Monitoring
  • API (Airtable)
  • CSS-in-JS
  • Cookies consent
  • Analytics
  • Icons
  • CSS Animations
  • UI components library
  • Docs site
  • Markdown as JSX

Previous section - Next sectionAccueil

Monitoring examples, using Sentry

Monitoring works universally, both on the browser and the server.
The errors and stacktrace will be slightly different.
Also, source maps support is built-in. Beware that it doesn't work during development.

Log runtime exception
try { throw new Error('test'); } catch(e) { Sentry.captureException(e); }

Log message
Sentry.captureMessage(warning, Sentry.Severity.Warning);

Breadcrumbs (tracing that is only used in case an error happens)
Sentry.addBreadcrumb({category: fileLabel, message: 'Rendering'})

Utilisateur 1 - 2023
Tous droits réservés

Conditions générales d'utilisation
Politique de confidentialité
/static/images/LOGO_Powered_by_UNLY_BLACK_BLUE.svg