I hate react so much that I made a package about it.
const ihatereact = require('ihatereact')
const t = require('true')
const f = require('false')
const _true = t()
const _false = f()
ihatereact(_true, _true) // will say "Using React :(" and throw error
ihatereact(_false, _true) // will say "Yay not using React! You smart" and throw error
ihatereact(_false, _false) // will say "Yay not using React! You smart" and ":)"
ihatereact(_true, _false) // will say "Using React :(" and ":)"
first parameters is if you're using react or not second parameters is if you want it to throw error