Closed rin closed 4 years ago
This looks like a great refactor :) Just for some context, is this because there were classes that we stopped to use/delete before and they're returning either null
, false
or undefined
?
Then, if that's the case, @kbardi maybe we can think of adding a test that runs exactly those 3 lines that Rin shared ?
@kbardi Can I have a review here? And … I'm not sure how to add what Cris asked, but it would be a nice idea …?
@camposcristianeze Had a quick look, and not sure how we should do the check (would probably good to check it for each rendered component individually?), so I opened a new issue for it: https://github.com/aimementoring/blueprint/issues/201
Before:
After: