knex-querylab
knex-querylab copied to clipboard
site crashes when you run my code
Bug The site simply becomes an empty page when you run a code given in the "To Reproduce" section in this message.
To Reproduce Steps to reproduce the behavior:
- Go to here
- paste this code in the "Expression" input,
knex('hello-world').select('foo').where("name", false /* or you can pass 'false' as the second parameter*/)
- Now the website is simply blank.
Desktop: The problem is not about browser, device or OS it happens everywhere.
Smartphone The problem is not about browser, device or OS it happens everywhere.
Additional context when the site turns blank, you can see an error in the console: Uncaught TypeError: Cannot read properties of undefined (reading 'slice') meaning something could be wrong in your redux code. But I find this very unlikely. I think you should put an error boundry.
I hope this helps.