Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Official documentation with plenty of code examples is provided by React Training, company that stands behind React Router library.
Basic purpose of using the history object is well explained in React Router DOM tutorial (published 2020-05-11, recording duration 17:57, starting at 1:48) by Mauricio Leal. I used it to programmatically change the route by pushing in it a query string which is based on the Yelp API guidelines.
To continue, I need to install query-string package. I figured out how to use it from How to store data in the URL query string using React Router tutorial (published 2020-05-12, recording duration 8:01) by Frederik Diekmann. Official docs are also helpful.
Complete repo from this blog entry is uploaded on my GitHub.