Skip to content

useWasm hook #3

Closed
Closed
@mbasso

Description

@mbasso

The 4th of february react@16.8.0 will be released, and it will contains hooks: facebook/react#14692.
This means that we can develop a useWasm hook, as said in #1, a new alternative to the render prop and HoC. Maybe something like:

const { loading, error, data } = useWasm({
  url: '/add.wasm'
});

@mfrachet let me know if you are interested in developing this 😄

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions