Ricky 41f1ca291a [Beta] Homepage (#5501)
* twk

* more

* twkg

* bla

* search bar, blog, misc polish

* fixes

* polish

* fixes

* polish

* adding back select

* change order on mobile

* fixes

* search fix

* fix

* make select chevron clickable

* add isLoading boolean to example4

* wip

* tweak

* wip

* rewire

* wip

* tweaks

* wip

* wip

* twk

* content

* twk

* twk

* twk

* fix

* wip

* adding community marquee

* fix

* polish

* polish

* optimize img

* images

* 8 images

* stuff

* swap

* words

* making the button fun

* slightly more subtle

* checking in OG images

* tweak

* words

* lol

* improve blog section

* algolia.css improvements

* words

* fix

* wat

* Revert "8 images"

This reverts commit 31c69ed78c.

* wip

* 8 images

* add new badge and bottom align date

* change icon

* rm new for now

* change icon

* img

* Revert "change icon"

This reverts commit a2758b97b5.

* mobile fixes for marquee

* like button tweaks

* polish

* en dash

* adding ctas

* clean up images, wire up og

* more subtle search

* smaller divider

* remove search shadow

* cta

* cleanup

* cta

* refactor

* Revert "remove search shadow"

This reverts commit a4e0d97211.

* Revert "smaller divider"

This reverts commit 0996b5bede.

* Revert "more subtle search"

This reverts commit 734b5d7129.

* scroll topg

* tweaks

* tweaks

* cta

* words

* words

* typo

* batch of visual polish / touches

* tweak

* add subheader component

* algolia css fixes

* border

* tweaks

* tweak

* polish

* tweak

* gradient text

* flip gradient text

* grad

* gr

* tweak

* swap

* reorder

* rm

* caps

* updated fonts

* top nav tweak

* tweak

* more rounded left/right bars

* `Conferences`: Move past conferences to past section (#5544)

* Move past conferences to past section

* Update ordering for past conferences, most recent first

* added React Nexus to conference list in beta docs (#5552)

* Fix typo in flushSync docs (#5589)

* fix: change experimental_useEvent to experimental_useEffectEvent in escape-hatches.md (#5573)

* Fix typo in forwardRef Beta Docs Reference (#5570)

* Fixed wrong debug command (#5596)

* Forgotten import statement for `createElement` (#5601)

Added `createElement` in the import statement since it was used within the code snippet but was not imported.

* docs: fix `react-hooks/exhaustive-dependencies` typo (#5605)

The rule is `exhaustive-deps`, not `exhaustive-dependencies`.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>

* fix: correct prev link in `hello-world` (#5595)

* fix typo (#5611)

* Fix fonts

* Update .gitignore

* more preload

* meh

* fixes

* fix missing

* increase width

* words

* twl

* put real images

* blog fixes

* all imgs

* read more button

* add react text on large screens

* misc polish, new icons, footer tweaks

* change pitfall icon

* fix

* add gradient

* fix

* blog updates

* scroll lock

* fit

* blog tweaks

* display

* smaller images

* tweaks

* separate component

* fix some hanging words

* tinier images

* even tinier I guess

* small a11y fixes

* minor

* add experimental_

* check in images

* compress

* lazy load community

* fix

* outline

* svg conf bgs

* crush images

* reorder images for balance

* bg in case images don't load

* RN CTA target=_blank

* refactor

* rmfixed

* eager lazyg

* dimensions

* add some content vis

* lock

* detect scroll without event

* ts

* check

* Revert "check"

This reverts commit c4048920b7.

* remove feedback on mobile

* just "Go truly native"

* anim-fix

* fix stretching

* tsc

* more scroll perf

* mobile nav fixes

* z-index fix

* z

* next/link for CTA for scroll restoration and client-side nav

* logo symmetry

* curly quotes

* fix

* fix wrapping on mobile on platform section

* highlights

* polish

* tweaks

* fix safari

* adjust outline above SearchInput

* symmetry

* spacing

* tweak

* nbsp

* orphans

* fix

* no match

* oops

* extract posts

* fixnav

* let them play a bit more

* don't animate until hydration

* fix boundaries calc

* fix og images

* 404

* twks

* fix likes

* less aggro lock

* no initial fadein

* gpu

* fix sticky

* more opt

* clearer

* twk

* wip

* wip

* wip

* wip

* post

* tweak shadows

* nav animation

* twk

* fix

* fix grid alignment

* fix

* animation tweak

* wip

* stuff

* recommend to

* drop spin

* link

* edits

* edit

* twk

* clarify

* twk

* twk

* twk

* link

* edits

* dates

* fix

* edits

* words

* fixes

* refactor

* tweak

* twk

* custom setups

* expo

---------

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
Co-authored-by: D <dan.lebo@me.com>
Co-authored-by: Sophie Alpert <git@sophiebits.com>
Co-authored-by: Nick Foden <nickfoden@gmail.com>
Co-authored-by: Kiran Abburi <akiran@users.noreply.github.com>
Co-authored-by: Minh Nguyen <2852660+NMinhNguyen@users.noreply.github.com>
Co-authored-by: LamNVQ <97967630+DawnGate@users.noreply.github.com>
Co-authored-by: Hyunseung Lee <hyunseunglee2008@gmail.com>
Co-authored-by: BIKI DAS <bikid475@gmail.com>
Co-authored-by: Mark Evola <76978800+MarkE16@users.noreply.github.com>
Co-authored-by: Eng Zer Jun <engzerjun@gmail.com>
Co-authored-by: Xavi Lee <awxiaoxian2020@163.com>
Co-authored-by: 이동현 <ldh19971027@gmail.com>
Co-authored-by: Dan Abramov <dan.abramov@me.com>
2023-03-16 18:18:00 +00:00
2022-02-02 11:58:20 +00:00
2023-03-16 18:18:00 +00:00
2023-03-15 09:55:03 +05:30
2020-07-07 10:35:57 -04:00
2020-07-07 10:35:57 -04:00
2022-03-30 18:32:26 +01:00
2018-09-19 13:11:19 +01:00
2021-10-28 22:27:24 +01:00
2022-05-18 22:34:28 +01:00
2018-10-07 15:08:40 -07:00
2020-08-19 14:12:35 -04:00
2022-04-06 19:33:36 +01:00
2022-04-06 19:33:36 +01:00

reactjs.org

This repo contains the source code and documentation powering reactjs.org.

Getting started

Prerequisites

  1. Git
  2. Node: any 12.x version starting with v12.0.0 or greater
  3. Yarn v1: See Yarn website for installation instructions
  4. A fork of the repo (for any contributions)
  5. A clone of the reactjs.org repo on your local machine

Installation

  1. cd reactjs.org to go into the project root
  2. yarn to install the website's npm dependencies

Running locally

  1. yarn dev to start the hot-reloading development server (powered by Gatsby)
  2. open http://localhost:8000 to open the site in your favorite browser

Contributing

Guidelines

The documentation is divided into several sections with a different tone and purpose. If you plan to write more than a few sentences, you might find it helpful to get familiar with the contributing guidelines for the appropriate sections.

Create a branch

  1. git checkout main from any folder in your local reactjs.org repository
  2. git pull origin main to ensure you have the latest main code
  3. git checkout -b the-name-of-my-branch (replacing the-name-of-my-branch with a suitable name) to create a branch

Make the change

  1. Follow the "Running locally" instructions
  2. Save the files and check in the browser
  3. Changes to React components in src will hot-reload
  4. Changes to markdown files in content will hot-reload
  5. If working with plugins, you may need to remove the .cache directory and restart the server

Test the change

  1. If possible, test any visual changes in all latest versions of common browsers, on both desktop and mobile.
  2. Run yarn check-all from the project root. (This will run Prettier, ESLint, and Flow.)

Push it

  1. git add -A && git commit -m "My message" (replacing My message with a commit message, such as Fix header logo on Android) to stage and commit your changes
  2. git push my-fork-name the-name-of-my-branch
  3. Go to the reactjs.org repo and you should see recently pushed branches.
  4. Follow GitHub's instructions.
  5. If possible, include screenshots of visual changes. A preview build is triggered after your changes are pushed to GitHub.

Translation

If you are interested in translating reactjs.org, please see the current translation efforts at translations.reactjs.org.

If your language does not have a translation and you would like to create one, please follow the instructions at reactjs.org Translations.

Troubleshooting

  • yarn reset to clear the local cache

License

Content submitted to reactjs.org is CC-BY-4.0 licensed, as found in the LICENSE-DOCS.md file.

Description
The React documentation website
Readme 256 MiB
Languages
TypeScript 59.1%
JavaScript 34.6%
CSS 6.1%
HTML 0.2%