We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, if data is undefined the library crashes - this should be handled gracefully.
Undefined data should not be crashing the application, ideally it should follow the same flow as an empty array of data.
No response
This would crash the application:
<Prism> ... </Prism>
This is handled gracefully:
<Prism data={[]}> ... </Prism>
Adobe
The text was updated successfully, but these errors were encountered:
Hi @evargast , I would like to give it a try. I might need help though. Can you guide me on how to approach the issue?
Sorry, something went wrong.
Hey @shubhexists! Absolutely, I would imagine we need to expand this conditional to include data === undefined
data === undefined
Then add the related tests to ensure that undefined data follows the same flow as empty data
No branches or pull requests
Provide a general summary of the feature here
Currently, if data is undefined the library crashes - this should be handled gracefully.
🤔 Expected Behavior?
Undefined data should not be crashing the application, ideally it should follow the same flow as an empty array of data.
💁 Possible Solution
No response
🔦 Context
This would crash the application:
This is handled gracefully:
💻 Examples
No response
🧢 Your Company/Team
Adobe
The text was updated successfully, but these errors were encountered: