Skip to content
This repository has been archived by the owner on Sep 13, 2020. It is now read-only.

rvcas/wasm-counter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WASM Counter

A super simple React component that increments a count on an interval. The cool part is that the function used to increment the count is written in zig. Parcel handles the instantiation of the WebAssembly module so the DX is as simple as directly importing .wasm files into your JavaScript.

Running

You'll need yarn and zig installed.

  • yarn install
  • yarn start