wp-react-boilerplate
wp-react-boilerplate copied to clipboard
Get started with using React in a WordPress plugin
Hi, i'm starting using your project with the idea to create a wp plugin more easy . After running the 'npm run dev' i got this error: Invariant Violation: _registerComponent(...):...
It's more a question than an issue, but I still can't figure it out. I know that bundling everything is the only way to go in case of decoupled apps,...
@gcorne I have added this feature in this PR * Used the "Best Practices/Architecture Patterns" provided by "Wordpress.org" (https://developer.wordpress.org/plugins/the-basics/best-practices/) * Used the "React boilerplate" structure (http://www.reactboilerplate.com/) * Airbnb Eslint Config...
If we don't conditionally enqueue `admin.js`, which is rendering based on a specific DOM element (`wp-react-component-library` in this case), a console error will trigger on all pages other than the...
It seems like including so many 3rd party libraries could introduce vulnerabilities, especially if developers don't take the time to manually review them before including them, or don't keep them...
This is a suggestion to add an example unit testing framework and establish at least some sort of minimal working testing configuration. In my experience it's not so easy for...