feat: Add DeveloperTools class to RelicApp#340
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
2f7c538 to
e525101
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #340 +/- ##
==========================================
- Coverage 91.45% 91.28% -0.18%
==========================================
Files 97 97
Lines 3816 3832 +16
Branches 1943 1953 +10
==========================================
+ Hits 3490 3498 +8
- Misses 326 334 +8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
e525101 to
4252479
Compare
- Add reloadCount and isDevMode getters via app.developerTools - Encapsulate hot-reload state in DeveloperTools - Introduce _Reloadable interface to decouple DeveloperTools from RelicApp
4252479 to
99c2e54
Compare
|
Disregard the lower coverage. The hot-reload tests are not currently counted in coverage. |
Description
Add a
DeveloperToolsclass toRelicApp, accessible viaapp.developerTools. ProvidesreloadCountandisDevModegetters for hot-reload introspection. A private_Reloadableinterface decouplesDeveloperToolsfromRelicApp.Also fixes hot-reload support for routes added via
injectAt.Related Issues
Pre-Launch Checklist
///), ensuring consistency with existing project documentation.Breaking Changes
Additional Notes
None.