Frequently Asked Questions

Find answers to commonly asked questions about using the react-maintenance package.

Troubleshooting

Maintenance screen doesn't show up

  • Verify that REACT_APP_PRODUCTION is set to true in .env file
  • If using startTime and endTime, check that the current time is within that window
  • Ensure the component is correctly imported and rendered at the top level of your application

Custom styles aren't applied correctly

  • Check that your customStyles object has the correct structure
  • Make sure you're not using CSS properties that require vendor prefixes
  • For complex styling, consider using a CustomComponent instead

Issues with countdown timer

  • Ensure endTime is a valid date string or Date object
  • Verify that showCountdown is set to true
  • Check that the end time is in the future

Still Need Help?

If you couldn't find an answer to your question, try these resources: