Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(react): allow user provided reportError func #619

Merged

Commits on Aug 1, 2023

  1. feat(react): allow user provided reportError func

    Because:
    
    * We should allow users the ability to provide a reportError function.
    
    This commit:
    
    * Adds a class property, reportError, to ReactLocalization that allows
      consumers to provide a function on initialization to report errors.
      By default the errors will console.warn.
    
    Closes: projectfluent#411
    StaberindeZA committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    26d6b59 View commit details
    Browse the repository at this point in the history