Skip to content

Commit

Permalink
AL: reduce API to just stores and add async/Suspense support
Browse files Browse the repository at this point in the history
  • Loading branch information
adalundhe committed Mar 10, 2024
1 parent 6878338 commit f288984
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 23 deletions.
21 changes: 0 additions & 21 deletions examples/async.ts

This file was deleted.

2 changes: 1 addition & 1 deletion examples/example.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { link } from "fs";
import { create, atom, AtomHook, useAtom, DerivedAtom } from "../src";
import { create } from "../src";

interface Store {
counter: number;
Expand Down
1 change: 0 additions & 1 deletion examples/pokemon.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { create } from "../src";
import { useState } from "react";

interface PokemonTrainer {
trainerName: string;
Expand Down

0 comments on commit f288984

Please sign in to comment.