Open ghost opened 3 years ago
I have the same question
This might explain it a little more.
This explains how the message could be stripped in production mode.
And they probably named it invariant
because the provided condition should not change and always be true. If the value is falsy, it throws an error.
invariant adjective never changing.
noun a function, quantity, or property that remains unchanged when a specified transformation is applied.
Hello, I would like to ask how you came up with the idea of developing this library in the first place, and why the name is called invariant