Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6287

Is it good practice to disable === check in es-lint rules or to increase time complexity [duplicate]

$
0
0

I am new to typescript. Recently I have added ES-lint to react native project. IN my project I have used == instead of === as it was required. Removing == increases my no of lines of code, which may result to increase time complexity. To what solution I should go for. Removing == or increasing line of codes.

I have already checked operator question this link but does not answer my question. I am aware about different use of == and ===. But here is the condition i do not want to check the type but only values.

My question is just that is it strictly avoided to use ==.


Viewing all articles
Browse latest Browse all 6287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>