# o2-performance > O2 Design 页面性能优化常见手法 - Author: moushu - Repository: Moushudyx/working-skills - Version: 20260207145754 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-07 - Source: https://github.com/Moushudyx/working-skills - Web: https://mule.run/skillshub/@@Moushudyx/working-skills~o2-performance:20260207145754 --- --- name: o2-performance description: O2 Design 页面性能优化常见手法 --- # 常见问题 - 页面所有逻辑写在一个组件内,任何字段变化都会触发全页面重渲染。 # 推荐做法 - 使用 `computed` 包装页面模块,减少不必要的重渲染。 - 将大页面拆成多个模块函数,按块渲染。 # 示例 ```jsx export default designPage(() => { const state = reactive({ formData: { name: '' } }); const part1 = computed(() =>