Using `&&` instead of good old ternary operator in JSX is not actually a very clever idea. It might result in unexpected behavior in your application and even a crash if it's react native.
Simple introduction to using a patch package to make * permanent * changes to files inside node modules. No, you don't have to fork the repository or wait for pull request to be merged just to make a simple change to the library. No more.