UNPKG
recompact
Version:
latest (3.4.0)
3.4.0
3.3.0
3.2.1
3.2.0
3.1.0
3.0.5
3.0.4
3.0.3
3.0.2
3.0.1
3.0.0
2.3.2
2.3.1
2.3.0
2.2.4
2.2.2
2.2.1
2.2.0
1.1.0
1.0.2
1.0.1
1.0.0
0.0.0
A set of React high order components based on Rx.
github.com/neoziro/recompact
neoziro/recompact
recompact
/
utils
/
invariant.js
7 lines
(5 loc)
•
139 B
JavaScript
View Raw
1
2
3
4
5
6
7
"use strict"
;
exports
.
__esModule
=
true
;
exports
.
default
=
function
(
condition, message
) {
if
(!condition)
throw
new
Error
(message); };