Page MenuHomePhabricator

<Core Technology> Proposal for Vue.js/Codex Development & Performance Guidelines
Closed, InvalidPublic

Description

Request Status: New request
Request Type: Decision following proposal
Related OKRs: P-PPL

Request Title: Proposal for Vue.js/Codex Development & Performance Guidelines

  • Request Description: As a result of the Vue.js Developer Summit in August 2021, WMF agreed to adopt Vue.js as the frontend UI library of choice. Due to performance concerns, Vue.js is currently loaded via a click event trigger versus on page load, to optimize for users visiting Wiki pages on cold cache. In this scenario, the Design Systems Team (DST), Readers Web, and others are blocked by adopting Vue/Codex on the intended scale, which includes UI components for static, above-the-fold features. This request is for a proposal that clearly outlines a path forward for Codex to be loaded up-front (if it is determined to be needed on the page), with options for optimizing performance to our best ability such as tree-shaking, delayed load time, etc. It should also identify guidelines that would help frontend teams adhere to performance requirements when developing libraries or features that impact asset bundle size. DST will draft the proposal and review with stakeholders.
  • Indicate Priority Level: High
  • Main Requestors: Design Systems, Readers Web
  • Ideal Delivery Date: April 2022
  • Stakeholders: Design Systems, Readers Web, all teams using Vue.js and who plan to adopt Codex.

Request Documentation

Document TypeRequired?Document/Link
Related PHAB TicketsYesT289208 (original)
Product One PagerNo
Product Requirements Document (PRD)No
Product RoadmapYesDST Roadmap
Product Planning/Business CaseNo
Product BriefNo
Other LinksNo