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

Refactor Snippet editor props going through multiple layers #10032

Open
igorschoester opened this issue Jun 14, 2018 · 0 comments
Open

Refactor Snippet editor props going through multiple layers #10032

igorschoester opened this issue Jun 14, 2018 · 0 comments

Comments

@igorschoester
Copy link
Member

With the implementation snippet editor for the settings (see: #9896) there where a lot of layers introduced. A lot of the same props have to go through these layers.
I feel like we could do this better by passing along destructured props. That way any new or changed props are automatically passed along correctly. Which means the code is less prone to mistakes.

There are layers in both wordpress-seo and yoast-components.

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

No branches or pull requests

3 participants