Skip to content

Clean up block implementation - #222

Draft
matt-bernhardt wants to merge 11 commits into
block-remixfrom
cleanup
Draft

Clean up block implementation#222
matt-bernhardt wants to merge 11 commits into
block-remixfrom
cleanup

Conversation

@matt-bernhardt

Copy link
Copy Markdown
Member

This is pretty speculative at the moment, and is aimed at resolving conditions in the block definitions that were either unused details of the boilerplate or are otherwise being flagged by our linting and analysis tools.

These packages are not needed in this way - need to work out how to specify them.

Declare WordPress packages as dev dependencies
Use of ' instead of ' causes complaints by the linter...
In some cases, we remove the boilerplate import because there's no opportunity to use it (the rendering is handled via PHP). In other cases, we properly route useBlockProps.save() into markup as the application expects.
The featured collection never passes any output through a translation function, so we
do not need to import it in the first place.
Re-run build
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

Successfully merging this pull request may close these issues.

1 participant