Below is a summary of the discussion from this week’s JavaScript chat (agenda, Slack transcript): This week’s meeting was focused around the role of a JavaScript framework in WordPress. The meeting was attended by many guests to the conversation, speaking on behalf of their respective frameworks or web standards: Google (Web Components / Chrome / Polymer / AMP) – Justin Fagnani (Chrome / Polymer), Alex Russell (Chrome), Wendy Ginsberg (Polymer), Paul Bakaus (AMP), Alberto Medina (AMP) Facebook (React) – Sophie Alpert, Dan Abramov, Dominic Gannaway Vue – Evan You What role should a framework play in a WordPress developer’s workflow, and in which contexts? For what purposes do we rely on a framework? @youknowriad started off the discussion by offering three things as important for the role of the framework Build UI and handle dom updates Build reusable “components”. Reused in Core and potentially for plugins Ability to extend the UI (using the same framework or not) @dmsnell added it should provide a well-defined interface for isolated components to interact with so that people can have the freedom to build pieces how they want. @mrahmadawais
Share This