vendredi 3 juin 2016

React.js and WordPress: Menu and Widget hooks

What I am aiming to achieve is fast speed by minimising queries and using React's virtual DOM.

What I have planned is use just the post content as the actual HTML and implement everything else via React.

For that I need to fire a function that saves the WordPress menu and text widgets as a JSON file each time they are updated, and my React.js file uses this to dynamically build the menus and Widgets.

My Question is do you think this will cause any performance benefit? Do you see any problems that may arise if this is done?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire