Skip to content

Commit

Permalink
docs: add some deprecated warning in model docs and hidden generator (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
zllkjc authored Sep 18, 2024
1 parent 3a973a2 commit 45a1776
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 12 deletions.
6 changes: 6 additions & 0 deletions .changeset/cyan-taxis-try.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@modern-js/main-doc': patch
---

docs: add some deprecated warning in model docs and hidden generator docs
docs: 添加 Reduck 文档的废弃警告,隐藏的 generator 文档
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,5 @@
"name": "model",
"label": "reduck",
"collapsed": true
},
{
"type": "dir",
"name": "generator",
"label": "generator",
"collapsed": true
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
sidebar_position: 1
title: Quick Start
---

:::caution
New projects are no longer recommended to use Reduck. You can use state management tools from the community, such as [Jotai](https://jotai.org/), [zustand](https://zustand.docs.pmnd.rs/getting-started/introduction), [valtio](https://valtio.dev/docs/introduction/getting-started), etc.
:::

# Quick Start

import ReduckMigration from "@site-docs-en/components/reduck-migration"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,5 @@
"name": "model",
"label": "reduck",
"collapsed": true
},
{
"type": "dir",
"name": "generator",
"label": "generator",
"collapsed": true
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
sidebar_position: 1
title: 快速上手
---

:::caution
新项目不再推荐使用 Reduck,可以使用社区中的状态管理工具,例如 [Jotai](https://jotai.org/)[zustand](https://zustand.docs.pmnd.rs/getting-started/introduction)[valtio](https://valtio.dev/docs/introduction/getting-started) 等。
:::

# 快速上手

import ReduckMigration from "@site-docs/components/reduck-migration"
Expand Down

0 comments on commit 45a1776

Please sign in to comment.