xtuc/async-reactor

Add a way to invalidate the component and rerun effects

Ouverte

#26 ouverte le 2 juil. 2018

 (0 commentaire) (2 réactions) (0 personne assignée)JavaScript (27 forks)github user discovery
beginner-friendlyhelp wanted

Métriques du dépôt

Stars
 (443 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

For example:

async function C() {
  const res = await fetch();
  return res;
}

We want a way to rerun the fetch request, probably by rerendering the C component.

Guide contributeur