Category: Development Tools

  • Debug logging for production

    If you’re developing a component and including checks for scenarios where the component is passed an unexpected prop, you’ll likely want to make sure that use case isn’t used in production. Depending on the type of component and what you are aiming to do, throwing an error could be an ideal option, given that the…