-
Notifications
You must be signed in to change notification settings - Fork 59
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
example with this.props.attrs? #52
Comments
I'm not sure what you mean? 3P Modules do not have access to
Could you provide more details? What is it exactly you are wondering how to accomplish?
Yes and no. We do use them but not consistently. We've found that they don't make much of an impact on our development workflow. More often than not they are a chore. |
In several places in bundle.js there is so I'm wondering how you assign attrs to this.props |
I see. Well, as I explained above, that is not exposed to 3rd party modules. All the attrs are available to you under |
So how are you getting the page title or permalink from a page_id in JSX? |
We send that data down when the builder loads using wp_localize_script(). We're planning to expose that data via the API as part of addressing #23 |
An example with this.props.attrs would be awesome.
How are you using the WP object with JSX?
Are you using propTypes? If yes how?
The text was updated successfully, but these errors were encountered: