use memoize so the same function is always returned
use memoize so the same function is always returned

Prevents unmounting when routes is changed

openstax/tutor-js,openstax/tutor-js,openstax/tutor-js,openstax/tutor-js,openstax/tutor-js