Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upThrow exception or provide info message when route's component is null #2038
Projects
Comments
for anybody picking this up: make sure to check it only in dev mode |
I will try to implement this the next week if nobody would be faster than me |
There's already a pr |
Note to myself, this could be solved through typings |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What problem does this feature solve?
Currently, route's component can be null and it give no information and error. Provide information or raising error can help users to catch they have some import issues when they use
So if
components.CreateEditAccounts
is null, they will know what went wrong easier.What does the proposed API look like?
Raise error when component is null or log info message.