Today’s exercise is Robot Name. That site seems slow and unstable lately, I am thinking they are doing upgrades. However, I did have to submit my code twice since it timed out the first time around.

Tried to be different and run the backend (which I didn’t use today) on WSL Ubuntu. It took some searching to figure out the packages to install, but it seemed to work.

The following doesn’t seem to work anymore. I need to either duplicate the code for each item or do a map over it. Looks like that was a breaking change in React Router V6.

<Route exact path={["/", "/todos"]} render={(props) =>
 <TodosList {...props} token={token} />
}></Route>

The fix is apparently to change render= to element= and remove the (props) => and {…props} which sounds like it will hurt me sometime later (seems like I need to enter each one manually). Nav.Link was not working changed it back to <link class=”nav-link”>, and that fixed it.

So after all of that I got one four page chapter done. Ouch!