I needed to get the hash of a url from the server side (e.g. something in /path#something) but failed. I tried to console.log the context.params in both middleware and fetch method but I cannot see the hash (something) being logged in my terminal. Instead, I can see the correct hash in browser's console when navigating away and back with frontend routing mechanism.