You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement safe dynamic import utility and update App component to use it (#25)
Summary:
- Added a new utility function `safeImport` to handle dynamic imports gracefully, avoiding static analysis issues.
- Updated the App component to utilize `safeImport` for importing internal utilities, ensuring that the application can handle missing modules without crashing.
- Enhanced error handling to log warnings when module imports fail.
This change improves the robustness of the application by allowing for safer dynamic imports of internal utilities.
Pull Request resolved: #25
Reviewed By: Sibylau
Differential Revision: D77968857
Pulled By: FindHao
fbshipit-source-id: 0e1ef1ef0e85f1b146b414fcd9069fd1083eddcd
0 commit comments