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_PRODUCTIONis set totruein.envfile - If using
startTimeandendTime, 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
customStylesobject has the correct structure - Make sure you're not using CSS properties that require vendor prefixes
- For complex styling, consider using a
CustomComponentinstead
Issues with countdown timer
- Ensure
endTimeis a valid date string or Date object - Verify that
showCountdownis set totrue - 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:
- GitHub Issues - Check existing issues or create a new one
- GitHub Repository - Review the source code or contribute
- NPM Package Page - For the latest version information