gutenberg-examples icon indicating copy to clipboard operation
gutenberg-examples copied to clipboard

Use 03-editable-esnext to introduce people to esnext

Open aaronjorbin opened this issue 7 years ago • 3 comments

If you have not been exposed to esnext, it's easy to get lost. Concepts like Destructuring assignment and arrow functions can be foriegn. This adds inline documentation with esnext terminoly and links to mozilla documentation. Additionally, Gutenberg specific concepts are linked to in order to assist with understanding how to build your own blocks.

aaronjorbin avatar Feb 19 '18 21:02 aaronjorbin

You can copy inline docs also from https://wordpress.org/gutenberg/handbook/blocks/generate-blocks-with-wp-cli/#create-a-block-inside-the-plugin. They are included as part of the wp scaffold block command.

gziolo avatar Feb 20 '18 20:02 gziolo

@gziolo @aduth thank you both for your feedback. I've pushed up some updates.

aaronjorbin avatar Feb 24 '18 21:02 aaronjorbin

@aaronjorbin this PR has some merge conflicts. Do you mind addressing them or do you think it's better at this point to close and re-approach this given the amount of changes in the repo?

ryanwelcher avatar Mar 07 '23 18:03 ryanwelcher