跳转到正文
Module 514 minAdvanced

谨慎地添加数据

在合适的时机选择硬编码数据、localStorage 或数据库,不要过早过度设计。

0 / 8 lessons · 0%

我们仍在将本课翻译成简体中文。目前您阅读的是English版本。帮助我们翻译

Add data without overbuilding

Data ladder

Start with hardcoded data, then localStorage, then a real database only when needed. Ask the agent to recommend the simplest persistence option for version 1 and implement only that.

这节课对你有帮助吗?