Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

useWasm hook #3

Closed
mbasso opened this issue Feb 1, 2019 · 2 comments
Closed

useWasm hook #3

mbasso opened this issue Feb 1, 2019 · 2 comments

Comments

@mbasso
Copy link
Owner

mbasso commented Feb 1, 2019

The 4th of february [email protected] 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 😄

@mfrachet
Copy link
Contributor

Hi!

I'm so sorry to answer you that late, I didn't see the notification pass :/ .

I've started in a new company and don't have that much time to work on this for now. So if you'd like to do it, feel free to 😊

@mbasso
Copy link
Owner Author

mbasso commented Feb 27, 2019

Hi @mfrachet,
thank you for your reply, I'll take a look at this as soon as possile 😄

@mbasso mbasso mentioned this issue Feb 27, 2019
@mbasso mbasso closed this as completed Mar 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants