Next.js

Install

See example. (Boilerplates and install instructions are work-in-progress.)

Example

Data fetching

We don't need to use Telefunc to fetch the initial data of pages; instead, we can use Next's built-in data fetching mechanism.

We still use Telefunc for data mutations and data fetches occurring after the initial page is already rendered and hydrated. For example, for modifying a to-do item, or for feeding data to an infinite scroll component.

Also see: