Skip to Main Content
Modern Front-End Development for Rails, 2nd Edition
book

Modern Front-End Development for Rails, 2nd Edition

by Noel Rappin
September 2022
Intermediate to advanced content levelIntermediate to advanced
410 pages
10h 7m
English
Pragmatic Bookshelf
Content preview from Modern Front-End Development for Rails, 2nd Edition

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.
Start your free trial

You might also like

Modern Front-End Development for Rails

Modern Front-End Development for Rails

Noel Rappin

Publisher Resources

ISBN: 9781680509977Errata Page