---
# System prepended metadata

title: React Interview Prep

---

# React Interview Prep

Use TJ's videos

Two coding problems, pretty much identical to TJ's except the routing was a little different.

Need to use a dynamic route, instead of separate routes.

TJ's counter example is the same for the test/interview.

The function for the counter can be an arrow function, but if you use a regular function, you can't without binding!

so was it the same route where it was 3 routes for the same page to render... 
/about 
/about/foo
about/bar*
/about/foo/bar

There's a reason for the error function. It negates having to use bind(). 
this.state.bind(this) 

Via Andrew...
"I learned that I need to code everyday, and the best way to do that is by building projects and apps. I don't need to spend my time trying to understand every little detail. Understanding how and why something works is more important. I learned knowing how and what to Google is one of the best skills to have. I learned instead of spending time drilling I should be building projects. I also learned to keep coding everyday and to continue to push project work to GitHub."





