Commit Graph

14 Commits

Author SHA1 Message Date
dan
1a641bb88e [Beta] Revamp navigation (#5287)
* [Beta] Split API reference

* Learn | Hooks | APIs

* tsc

* nav changes

* redirects and url changes

* twk

* alt take

* fix;

* wip

* nav?

* tsc

* twk

* tweaks

* index pages

* cleanup

* undo changes

* edits

* edits
2022-11-25 20:13:59 +00:00
dan
4c37115f3f [Beta] Code style tweaks (#5104)
* Use named React imports

* More manual edits

* Remove displayNames

* rm dead code
2022-09-24 12:30:19 +01:00
Dan Abramov
d0147dc5a9 Fix types 2022-09-10 07:15:51 +01:00
Dan Abramov
e45e126006 [Beta] Reset nav scroll on tab switch 2022-09-10 07:12:51 +01:00
Ricky
5b2d2bd9d6 [beta] Fix lint, remove unused vars (#5010) 2022-09-07 12:44:13 -04:00
dan
9247d1a359 [Beta] Make banner scrollable (#5002) 2022-09-07 04:20:32 +01:00
dan
f7c91ebbf1 [Beta] Refactor Navigation (#5001) 2022-09-07 00:53:24 +01:00
dan
6e21a2e5a8 [Beta] Move from MDX loader to getStaticPaths (#4990)
* Move Markdown from src/pages to src/content

* Use getStaticProps

* Fix Fast Refresh

* Clean up

* rm unused

* Fixes
2022-09-05 22:42:29 +01:00
Ricky
2890036c69 Add stub pages for all React and ReactDOM APIs (#4910)
* Add ReactDOM Client APIs

* Feedback fixes

* TODO and link fixes

* Update createRoot.md

* Nits

* Nits

* Update reactdomclient.md

* Update hydrateRoot.md

* Update hydrateRoot.md

* Update createRoot.md

* Update hydrateRoot.md

* createRoot tweaks

* bla

* tweaks

* tweaks

* tweak

* bump

* Add another troubleshooting error

* Add stubs for React.* APIs

* Add and organize remaining APIs

* Update links

* fix whitespace

* Add re-directs for old API URLs

* Fix some links

* Add StrictMode

Co-authored-by: dan <dan.abramov@gmail.com>
2022-08-19 12:42:44 -04:00
dan
c8ec9d841a [Beta] Replace Hotjar with GA buttons (#4275)
* Replace Hotjar with GA buttons

* initial styles for GA buttons

* Add feedback popover

* style fixes + adding SVGs

* dark mode fix

* Maintain state

* Click outside

* Fix TS

* Oops

Co-authored-by: Dan Lebowitz <dan.lebo@me.com>
2022-02-18 00:28:01 +00:00
Sha Mwe La
b4de7008f3 [Beta] Add ARIA labels (#4335)
* Add ARIA labels

* Remove unnecessary ARIA label

* Add Facebook and Twitter ARIA labels
2022-02-15 16:30:11 +00:00
dan
73d7d13446 [Beta] Move /reference -> /apis (#4294)
* [Beta] Move /reference -> /apis

* come on

* Update CONTRIBUTING.md

* Update sidebarReference.json
2022-02-04 17:42:27 +00:00
harish-sethuraman
5ba0ad88b8 Take system's theme for the beta site (#4022)
* Take system's theme for the site

* Add IIFE for dark mode in document load and preserve in localStorage

* Add types

* Fix SSR and respect override

Co-authored-by: Dan Abramov <dan.abramov@me.com>
2021-11-04 19:14:50 +00:00
Rachel Nabors
981db3397e Initial check-in of new React docs and website
Co-authored-by: Dan Abramov <dan.abramov@me.com>
Co-authored-by: Sylwia Vargas <sylwia.vargas@gmail.com>
Co-authored-by: Dan Lebowitz <dan.lebo@me.com>
Co-authored-by: Razvan Gradinar <grazvan@fb.com>
Co-authored-by: Jared Palmer <jared@palmer.net>
Co-authored-by: Dane Grant <danecando@gmail.com>
Co-authored-by: Dustin Goodman <dustin.s.goodman@gmail.com>
Co-authored-by: Rick Hanlon <rickhanlonii@gmail.com>
Co-authored-by: Maggie Appleton <maggie.fm.appleton@gmail.com>
Co-authored-by: Alex Moldovan <alex.n.moldovan@gmail.com>
Co-authored-by: Ives van Hoorne <ives.v.h@gmail.com>
Co-authored-by: Brian Vaughn <bvaughn@fb.com>
Co-authored-by: Dmitri Pavlutin <dpavlutin@gmail.com>
2021-10-28 21:33:41 +01:00