How to go to the item page, when used in the buck HAL?

With the servers back links.
We derive a General list of items on the page for General queries, and how to create a button to view a single item? If you have not used the HAL, then I'd go for id, but if with HAL?
An example of JSON from the server
"_links" : {
 "self" : {
 "href" : "http://localhost:8080/books/book/1"
},
 },

Here's a link to obtain the data of a particular book. I understand that we pass on the trail page to make a request and get all the data, and how to make the address of the page so when you refresh the page remained exactly such a request. I thought that the page address is the same as the _links, but also need the relative path. You can of course chop off the href up to the third slash, but I think it is wrong
March 12th 20 at 07:55
1 answer
March 12th 20 at 07:57
You can use templated. Dynamic links based on the parameters. And then have to rely on the attributes.

Find more questions by tags ReduxReact