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

docs: change useResource to useState in readme #625

Merged
merged 1 commit into from
Nov 13, 2021
Merged

docs: change useResource to useState in readme #625

merged 1 commit into from
Nov 13, 2021

Conversation

Trufi
Copy link
Contributor

@Trufi Trufi commented Nov 13, 2021

Why

According to https://github.com/pmndrs/react-three-fiber/blob/master/markdown/changelog.md#removal-of-useresource, it seems we should use useState instead of useResource.

Same fix in the website repo https://github.com/pmndrs/website/pull/200.

What

Changed useResource to useState in the conrols section

Checklist

  • Documentation updated
  • Ready to be merged

@vercel
Copy link

vercel bot commented Nov 13, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/pmndrs/drei/EGsP1HjaV6yVvHLviJctN3r6zTGn
✅ Preview: https://drei-git-fork-trufi-patch-1-pmndrs.vercel.app

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 420e142:

Sandbox Source
funny-colden-2nked Configuration
Ground reflections and video textures Configuration
arc-x-pmndrs-colors Configuration

@drcmda drcmda merged commit 62ee36f into pmndrs:master Nov 13, 2021
@Trufi Trufi deleted the patch-1 branch November 13, 2021 13:16
@github-actions
Copy link

🎉 This PR is included in version 7.20.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants