Commit Graph

9 Commits

Author SHA1 Message Date
Xuan Huang (黄玄)
fcd00068bd Capitalize word "Hook" (#6424)
Summary of changes:
See <https://github.com/reactjs/react.dev/pull/6417>.

There is one exception though. The error message
“Rendered fewer hooks than expected” from React is indeed "hooks"
so I kept as-is. Shall we change the error message from React?

Co-authored-by: xuan.huang <xuan.huang@bytedance.com>
2023-11-10 13:57:45 +00:00
Xuan Huang (黄玄)
c5a2e15d58 Capitalize Client in "client modules" (#6419)
Summary of changes:
See <https://github.com/reactjs/react.dev/pull/6417>

Co-authored-by: xuan.huang <xuan.huang@bytedance.com>
2023-11-07 12:50:57 +00:00
Xuan Huang (黄玄)
42ca996138 Captailize Server Action (#6417)
Summary of changes:
"Server Action", like "Effect", is a React-specific notion
that would be benefited from captailization to be distinguished
from its genertic meaning.

It seems like [Next doc](https://nextjs.org/docs/app/api-reference/functions/server-actions)
has also adopted such connventions and we should probably do the same.

Co-authored-by: xuan.huang <xuan.huang@bytedance.com>
2023-11-07 11:56:44 +00:00
Sophie Alpert
a8790ca810 Edits for new "use client" content (#6401)
* Edits for new "use client" content

* Apply suggestions from code review

Co-authored-by: Luna <lunaleaps@gmail.com>

---------

Co-authored-by: Luna <lunaleaps@gmail.com>
2023-11-03 11:00:40 -07:00
Luna
9c60167bf9 'use client' - flesh out usages and reference (#6362)
Co-authored-by: Soichiro Miki <smiki-tky@umin.ac.jp>
Co-authored-by: David McCabe <davemccabe@gmail.com>
Co-authored-by: Luna Wei <luwe@fb.com>
2023-10-30 15:03:51 -07:00
Sophie Alpert
4bdb87b172 Try to fix Google titles for directive pages (#6393)
https://twitter.com/sophiebits/status/1718042539650150609
2023-10-27 19:48:24 -07:00
Luna
f67811befe Clarify these features are not related to Next (#6229)
Co-authored-by: Luna Wei <luwe@fb.com>
2023-08-21 13:34:53 -07:00
Ricky
ae06008d57 Add UI for canary releases (#6173)
* [WIP] Add UI for canary releases

* yellow

* Switch to icon and gray

* Wording, alignment, and rm flex

* Heading alignment
2023-08-10 17:10:58 -04:00
Sophie Alpert
292534e975 Add basic reference pages for use client and server (#5976)
* Add basic reference pages for use client and server

I guess this turned into a bit more of an FAQ but I think it's useful to have this written down in a canonical place.

* Oops, push final tweaks
2023-06-30 11:59:55 -07:00