- git clone https://github.com/insaneinc01/debug.git
- cd debug
- npm install
- npm start
- All bugs fixed - relevant comments added (typos, missing imports, proper contructor props etc)
- Issue with bootstrap imports fixed, only bootstrap v3 themes work
- Instead of DOM manipulation using 'refs', the Navbar and LoginForm code is simplified by just passing props
- showLoginForm, showCheckmark, showLogoutButton -> all three can be controlled from one state variable. Please see App-alternate.js and Navbar-alternate.js
This is a bug test where we evaluate your ability to resolve bugs based on console log messages you get. We also want you to demonstrate in the code (with comments) what was the bug, how you resolved it and as you inspect the code if there are ways the code could be improved.
- Review each bug and fix them
- Comment what was the bug and how you resolved it
- Inspect the code to find improvements in style, best practices and logic
- Make the improvements with comments as to why you'd make those improvements