Book with Words

Connecting Multiple Platforms Together

15 May 2020

Hello!

Zorem ipsum dolor sit amet, consectetur adipiscing elit. Apparet statim, quae sint officia, quae actiones. Illis videtur, qui illud non dubitant bonum dicere. Deinde dolorem quem maximum?

Qui ita affectus, beatum esse numquam probabis; Quae cum dixisset paulumque institisset, Quid est? Efficiens dici potest.

Guide to Headless CMS and SEO with GraphCMS

Omnes enim iucundum motum, quo sensus hilaretur. Non quam nostram quidem, inquit Pomponius iocans; Utilitatis causa amicitia est quaesita.

The trick is that there's a lot more to Web applications than local component state. In fact, the vast majority of the "state" loaded in the typical React application is not state at all, but a cache of state that came from the server (which it probably got from a persistence layer like a database for example). While React has always given us a nice way to manage state, it can't hide the fact that much of the state we're managing is actually a cache and suffers from the problems of caching.

A JavaScript library for building user interface

Enter stage right: Remix 💿

This is why I'm so excited that React Router is going to solve this problem by bringing much of what I love about Remix into React Router. Ryan explains this in his post Remixing React Router. With the power of layout nested routes and loaders(getting data) and actions (mutating data), you can decouple the data fetching from the components, but still benefit a lot from colocation. The fetching code might not be inside the component in this case, but because of the nature of nested layout routes, it's pretty darn close.

Take a look again:

  • First

  • Second

  • Third

    1. One

      1. Next
      2. Previous
    2. Two

    3. Three

  • Fourh

  • Fifth

There are only two hard things in Computer Science: cache invalidation and naming things. Yes there are two things, huh?

Super cool

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Apparet statim, quae sint officia, quae actiones. Illis videtur, qui illud non dubitant bonum dicere. Deinde dolorem quem maximum?

Omnes enim iucundum motum, quo sensus hilaretur. Non quam nostram quidem, inquit Pomponius iocans; Utilitatis causa amicitia est quaesita.

Better done

Qui ita affectus, beatum esse numquam probabis; Quae cum dixisset paulumque institisset, Quid est? Efficiens dici potest.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Apparet statim, quae sint officia, quae actiones. Illis videtur, qui illud non dubitant bonum dicere. Deinde dolorem quem maximum?

Best the

Qui ita affectus, beatum esse numquam probabis; Quae cum dixisset paulumque institisset, Quid est? Efficiens dici potest.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Apparet statim, quae sint officia, quae actiones. Illis videtur, qui illud non dubitant bonum dicere. Deinde dolorem quem maximum?