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

Documentation: Replace withSelect references with useSelect #34549

Open
wants to merge 5 commits into
base: trunk
Choose a base branch
from

Conversation

@Mamaduka
Copy link
Member

@Mamaduka Mamaduka commented Sep 4, 2021

Description

Replaces withSelect references with useSelect hook in documentation.

PR also removes the "Finishing Touches" section from the "Creating a Sidebar for Your Plugin" tutorial since update examples don't require refactoring.

Fixes #33411.
Closes #33428.

How has this been tested?

I tested changes locally by creating a plugin for each example.

Types of changes

Documentation

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows the accessibility standards.
  • I've tested my changes with keyboard and screen readers.
  • My code has proper inline documentation.
  • I've included developer documentation if appropriate.
  • I've updated all React Native files affected by any refactorings/renamings in this PR (please manually search all *.native.js files for terms that need renaming or removal).
@Mamaduka Mamaduka self-assigned this Sep 4, 2021
@Mamaduka Mamaduka requested a review from talldan Sep 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

1 participant