Persistence

Some frameworks are all-purpose frameworks that are intended to do everything; ReactJS is not. It does not even offer any method by which to make an AJAX call, even though (practically) any important project that uses ReactJS will have AJAX requirements. This is entirely by design. The reason is that ReactJS is specialized as a framework for working on user interfaces or making Views, and it is intended to be combined with other technologies to make whatever complete package is appropriate for your site.

One feature that is desirable in this Pragmatometer application is that it remembers the data you enter. If you enter an appointment for tomorrow at 2:00 p.m., then leave the page and come back, it would be nice if the page remembered ...

Get React: Building Modern Web Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.