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

Rewrite as Gutenberg blocks? #1

Open
iandunn opened this issue Mar 15, 2019 · 1 comment
Open

Rewrite as Gutenberg blocks? #1

iandunn opened this issue Mar 15, 2019 · 1 comment

Comments

@iandunn
Copy link
Collaborator

iandunn commented Mar 15, 2019

I'm wondering if we should redo this as Gutenberg blocks, to make it more future-proof, and as an opportunity to learn more JS.

On the back end, the CPT could be pre-populated with a template of blocks that collect the various info about the company.

On the front end, the table could be a dynamic block or standalone React app rather than native JS. That's kind of overkill in a way, but it would also be more consistent with the back end, and may be able to share some code with the back end, WordCamp blocks, etc? If we do it as a block, maybe it'd be an opportunity to experiment with a way to write dynamic blocks in JavaScript rather than PHP?

What do you think, @vedanshujain and @coreymckrill ?

@iandunn
Copy link
Collaborator Author

iandunn commented Jun 4, 2019

Here's a couple recent projects that could provide a good template for building small interactive apps with Gutenberg's abstraction layer for React, and its components:

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

No branches or pull requests

1 participant