Skip to content

Commit

Permalink
docs: fix head level
Browse files Browse the repository at this point in the history
  • Loading branch information
crimx committed May 29, 2023
1 parent 242473b commit ceca249
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/guide/core-concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ You can also use [`useObservableCallback`][useobservablecallback] to create obse

The resulted observables can then be consumed by [Observable to Normal](#observable-to-normal) with [`useObservableState`][useobservablestate] or [`useSubscription`][usesubscription].

## Ref to Observable
### Ref to Observable

You can also use [`useObservableRef`][useobservableref] to create observables from ref value.

Expand Down
2 changes: 1 addition & 1 deletion docs/zh-cn/guide/core-concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@

得到的 Observable 可以借助 [响应式世界到普通世界](#%E5%93%8D%E5%BA%94%E5%BC%8F%E4%B8%96%E7%95%8C%E5%88%B0%E6%99%AE%E9%80%9A%E4%B8%96%E7%95%8C) 模式,通过 [`useObservableState`][useobservablestate][`useSubscription`][usesubscription] 接收。

## Ref 生成 Observable
### Ref 生成 Observable

你还可以通过 [`useObservableRef`][useobservableref] 利用 React ref.current 的改变产生值。

Expand Down

0 comments on commit ceca249

Please sign in to comment.