The All-React App
Now the React page. Here are the features I created:
-
The initial data for the page comes from an API call to the server that returns JSON.
-
Clicking a date in the calendar filter at the top of the page makes that date visible and other dates invisible, with the same logic and the same “Show All” button as we had before.
-
The search bar calls the server for search results and displays them in a modal window.
-
Clicking the Make Favorites button adds a concert to the list of favorites, clicking Remove Favorites takes it out of the list, and favorites animate in and out of that list.
-
The schedule page can receive ActionCable broadcasts when the user changes favorites in a different browser or with updates to the number of tickets ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access