Commit Graph

24 Commits

Author SHA1 Message Date
Dan Abramov
b8dcdf4f4f Fix some links 2023-01-24 11:43:40 +00:00
dan
c9e2e39940 [Beta] Refactor navigation logic (#5492)
* Pass route lists explicitly

* Inline MarkdownPage into Page

* Pass breadcrumbs from above

* Remove state from router utils

* Pass section from above
2023-01-23 22:59:55 +00:00
dan
ddde7e8fdc [Beta] Sidebar groups (#5402) 2022-12-26 12:43:49 +00:00
Ricky
f35d831c92 Fix key error (#5302) 2022-11-29 12:43:42 -05:00
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 Abramov
2896038b1f [Beta] Remove nav fadein
It's pretty distracting when switching tabs.
2022-11-21 15:54:10 +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
5f349ddda7 [Beta] Open external link in new tab 2022-09-07 21:42:05 +01:00
Ricky
dfc73fb567 [beta] Add blog links (#5008) 2022-09-07 21:37:32 +01:00
Dan Abramov
f1cdb194bd [Beta] Panel fixes 2022-09-07 04:44:52 +01:00
Dan Abramov
18a4fc0220 [Beta] Misc fixes 2022-09-07 03:56:02 +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
Yousef M. El-Gohary
9721c9d11d Add loading indicator to sidebar links (#4693)
* add loading indicator to sidebar links

* fix clicking on same route whould show indicator

* maybe final?

* handle routeChangeError as well as cleaning up timeout

* clearing timeout before creating one instead of routeChangeError

* rm unused

* add license header

* Update usePendingRoute.ts

Co-authored-by: dan <dan.abramov@gmail.com>
2022-05-27 14:18:32 +01:00
dan
47eea56bcf [Beta] Enable Selective Hydration in more places (#4689)
* [Beta] Enable Selective Hydration in more places

* Fix typo
2022-05-25 23:20:06 +01:00
Dan Abramov
8b5ce4dcb5 Fix mobile layout on beta 2022-03-07 18:24:17 +00:00
Sha Mwe La
6c95de96f7 [Beta] Delete unused variables (#4379)
* Delete unused variables

* Change event to e

* Change e to evt
2022-03-01 13:36:37 +05:30
Anjorin Damilare
9bcbe7ba5f [beta] bump tailwind to v3 and update config (#4366)
* [beta] bump tailwind to v3 and update config

* fix widget wrong position

* fix content tailwind config
2022-02-21 21:40:33 +00: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
Strek
01afd01325 [Beta]Move all possible style to tailwind classes (#4054)
* Move all possible style to tailwind classes

* Update Sidebar.tsx

* fix-collapsable-color

* dry run and commit

* Update SidebarLink.tsx

* Fixes review comments for aria tags

* Remove extended tailwind configs

* Update tailwind.config.js

* Update Sidebar.tsx
2021-11-29 23:17:46 +05:30
Strek
49a552c1c1 Fix prettier CI and add it to pre commit (#4100)
* Add prettier before commit and during CI

* Add workflow

* Reverse merge main to branch

* dry run prettier

* dry run prettier

* [warn] jsxBracketSameLine is deprecated so replaced it to bracketSameLine

* Revert "[warn] jsxBracketSameLine is deprecated so replaced it to bracketSameLine"

This reverts commit 43dbe9ed3f.

* Revert "dry run prettier"

This reverts commit b62948042c.

* Revert "dry run prettier"

This reverts commit 382f9a4691.

* Revert "Reverse merge main to branch"

This reverts commit 43667eaf29.

* [warn] jsxBracketSameLine is deprecated so replaced it to bracketSameLine
2021-11-15 18:23:25 +00:00
Dan Lebowitz
e915345e61 add additional bottom padding to mobile sidebar 2021-11-06 12:42:40 +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