Irshath Codes
dc1d58026f
fix form submit on enter ( #5958 )
2023-04-24 17:01:41 +01:00
Dan Abramov
c019eb1ee3
Add noindex for untranslated sites
2023-04-20 19:33:01 +01:00
Dan Abramov
a50484490c
Add some translations to the list
2023-04-18 18:54:51 +01:00
dan
a35b64cb33
Add <meta> tags for translations ( #5930 )
...
* Add site config with domain name
* Add <meta> tags for languages
* Move legacy redirect out of vercel config
This lets us give it a more specific subdomain per lang.
* Support sites with no legacy
* Fix types
* Undo unrelated change
2023-04-18 03:47:43 +01:00
Evren
543c7a0dca
Cancel double path check and remove unused props ( #5925 )
2023-04-15 23:50:53 +05:30
dan
5273fe2a9a
Add <meta> tag for search order ( #5859 )
2023-04-01 20:07:23 +01:00
Dan Lebo
881f928f87
improve visibility of code
2023-03-29 22:01:20 -07:00
dan
6b22284eb3
Add more fonts ( #5841 )
...
* Use regular font for body text
* Use primary text color for content area
* Keep medium font for nav
* Add italics
* Hook up more fonts
2023-03-30 00:39:37 +01:00
lijianan
7f7308c85e
chore: use default parameters replace defaultProps ( #5839 )
2023-03-29 13:58:36 +01:00
Jasper De Moor
d1ce846f44
chore: update bundlerUrl ( #5835 )
2023-03-28 17:36:34 +01:00
Abhinav Mahajan
9f89fff57c
Resolved the Tailwind CSS conflicts ( #5814 )
...
* Resolved the CSS conflict
* Resolved the CSS conflicts in other files
2023-03-24 17:55:07 +00:00
dan
8de8a0342d
Fix search modal not disappearing on Enter ( #5794 )
...
* Remove dead prop
* Use React.lazy
* Render at most one dialog at a time
2023-03-22 01:56:34 +00:00
Alex Visan
d0f94d15eb
fix toc to highlight the correct header on click ( #5765 )
...
* fix toc to highlight the correct header on click
* fix case for when the toc has only a few headings
2023-03-21 01:16:14 +00:00
Pranav Yadav
61bf23ab9a
FIX: Various typos across codebase :) ( #5767 )
2023-03-21 01:12:41 +00:00
Dan Abramov
cbe2a266e2
Fix <meta> for Twitter
2023-03-21 01:06:14 +00:00
dan
1926e48758
Disconnect sidebar scroll behaviors ( #5778 )
2023-03-20 23:18:05 +00:00
Dan Abramov
19ad88bf83
Prettier
2023-03-20 23:11:49 +00:00
dan
ccc8a49786
Misc Footer fixes ( #5777 )
...
* Refactor Footer
* Fix grey line on dark homepage
This is a bit of a hack. Our sections are contain: 'content' so the background doesn't stretch far enough.
* Align horizontal lines
* Fix Quick Start not having Prev/Next
2023-03-20 22:03:32 +00:00
Dan Abramov
fc2e89cc43
Remove unnecessary scrollbar
2023-03-20 16:18:44 +00:00
Dan Abramov
e565b43abd
Oops, reuse existing <meta> tag
2023-03-19 21:49:52 +00:00
Dan Abramov
dd65dcac3b
Move beta to top level
2023-03-18 22:35:53 +00:00
dan
4c2503a83e
Move the old site to another repo ( #5739 )
...
* Delete the old site from this repo
* Remove old GH workflow
* Remove other files
2023-03-18 22:28:17 +00:00
Dan Abramov
90e8ba6497
Update some text
2023-03-16 22:33:22 +00:00
Dan Abramov
2e5738251d
Bolder CTA
2022-09-29 07:01:52 +01:00
dan
fd81031d10
Point old site banner at Beta docs ( #5134 )
...
* Point old site banner at Beta docs
* lint
2022-09-29 06:49:46 +01:00
kasahala
b8c439495e
fix: css variables and layout of header and banner ( #4966 )
...
Some css variables such as banner were defined, but header css variables
were not, and layout margins were written solidly without css variables.
The layout was broken (to the extent that it was not visible), so it was
corrected.
2022-09-07 21:43:40 +01:00
Ricky
74246c13b9
React 18 ( #4499 )
...
* [18] ReactDOM reference to createRoot/hydrateRoot (#4340 )
* [18] ReactDOM reference to createRoot/hydrateRoot
* Update note about render and hydrate
* Match the warning text
* s/Render/render
* [18] Update ReactDOMClient docs (#4468 )
* [18] Update ReactDOMClient docs
* Remove ReactDOMClient where it's obvious
* Update browser message
* Update browser message note
* Update based on feedback
* Add react-dom/client docs
* [18] Upgrade homepage examples (#4469 )
* [18] Switch code samples to createRoot (#4470 )
* [18] Switch code samples to createRoot
* Feedback fixes
* Feedback updates
* [18] Use hydrateRoot and root.unmount. (#4473 )
* [18] Add docs for flushSync (#4474 )
* [18] Add flushSync to ReactDOM docs
* Seb feedback
* More Seb feedback
* [18] Bump version to 18 (#4478 )
* [18] Update browser requirements (#4476 )
* [18] Update browser requirements
* Update based on feedback
* [18] Add stubs for new API references (#4477 )
* [18] Add stubs for new API references
* Change order/grouping
* [18] Redirect outdated Concurrent Mode docs (#4481 )
* [18] Redirect outdated Concurrent Mode docs
* Use Vercel redirects instead
* [18] Update versions page (#4482 )
* [18] Update version page
* Fix prettier
* [18] Update React.lazy docs (#4483 )
* [18] Add docs for useSyncExternalStore (#4487 )
* [18] Add docs for useSyncExternalStore
* rm "optional"
* [18] Add docs for useInsertionEffect (#4486 )
* [18] Add docs for useId (#4488 )
* [18] Add docs for useId
* Update based on feedback
* Add Strict Effects to Strict Mode (#4362 )
* Add Strict Effects to Strict Mode
* Update with new thinking
* [18] Update docs for useEffect timing (#4498 )
* [18] Add docs for useDeferredValue (#4497 )
* [18] Update suspense docs for unexpected fallbacks (#4500 )
* [18] Update suspense docs for unexpected fallbacks
* Add inline code block
* Feedback fixes
* [18] Updated Suspense doc with behavior during SSR and Hydration (#4484 )
* update wording
* wording
* update events
* Update content/docs/reference-react.md
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com >
* add link to selective hydration
* remove some of the implementation details
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com >
* [18] renderToPipeableStream doc (#4485 )
* new streaming ssr api
* add readable stream
* code snippets
* Rename strict effects / unsafe effects to use the reusable state terminology (#4505 )
* Add draft of 18 release post
* Add links to speaker Twitter profiles
* [18] Update upgrade guide
* Fix typo in blog title
* [18] Blog - add note for react native
* [18] Add changelog info to blog posts
* Edit Suspense for data fetching section
* Update date
* [18] Add links
* Consistent title case
* Update link to merged RFC
* [18] Update APIs and links
* [18] Add start/useTransition docs (#4479 )
* [18] Add start/useTransition docs
* Updates based on feedback
* [18] Generate heading IDs
* Add note about Strict Mode
* Just frameworks
* Reorder, fix content
* Typos
* Clarify Suspense frameworks section
* Revert lost changes that happened when I undo-ed in my editor
Co-authored-by: salazarm <salazarm@users.noreply.github.com >
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com >
Co-authored-by: Sebastian Markbåge <sebastian@calyptus.eu >
Co-authored-by: Andrew Clark <git@andrewclark.io >
Co-authored-by: dan <dan.abramov@gmail.com >
2022-03-29 12:03:23 -04:00
Strek
d3b66f5e4c
Fixes linting issues ( #4452 )
2022-03-11 10:56:22 +05:30
Dmitry Vinnik | Meta
d90fd21fdb
docs: Adding Social Banner in Support of Ukraine ( #4397 )
...
* Adding Social Banner with Support for Ukraine
* Changing spacing the social banner
* Fixing lint errors
* Remove external link icon from social banner
* Add banner for beta site
* Add todo
* Fix centering on mobile in old site
Co-authored-by: Rick Hanlon <rickhanlonii@gmail.com >
2022-03-02 11:07:19 -05:00
Paul O’Shannessy
e3ba7fe205
Update copyright on website ( #4193 )
...
This should be Meta now
2021-12-21 00:58:04 +00:00
Christine Abernathy
075b69cd6b
Activate banner for 2021 survey ( #3854 )
2021-08-16 18:26:16 +01:00
Brian Vaughn
620d360621
Updated master -> main references ( #3769 )
2021-07-06 14:17:34 -04:00
Sanket Shah
89f3470e82
Fix broken link in the MarkdownPage.js file ( #3764 )
2021-07-04 10:31:38 +02:00
Brian Vaughn
d456dfbd29
Update docs and config to replace "master" with "main" branch
...
https://github.com/facebook/react/issues/21767
2021-06-29 13:35:55 -04:00
Andrew Clark
7b0aecbe6d
New post: The Plan for React 18 ( #3729 )
...
* New post: The Plan for React 18
* Mark CM docs as stale
* Update content/blog/2021-06-08-the-plan-for-react-18.md
Co-authored-by: Ricky <rickhanlonii@gmail.com >
* Simplify
Co-authored-by: Dan Abramov <dan.abramov@me.com >
Co-authored-by: Dan Abramov <dan.abramov@gmail.com >
Co-authored-by: Ricky <rickhanlonii@gmail.com >
2021-06-08 10:25:54 -07:00
Swapnal Shahil
7a11d71b38
Fix UI feedback when downvoting a page ( #3459 )
2020-12-22 11:14:37 +01:00
R Nabors
aef8fb3566
2020 Community survey banner ( #3289 )
...
* Adding survey banner for community
* fixing up a kludge for the banner, making the graphic look less like swearing
* updating banner start date
* make the banner smaller
* Close as a button
* fixes
* Remove the arrow
* Updating image sizes, making the arrow do a little slide
* Revert "Remove the arrow"
This reverts commit 3dddae8108 .
* Remove extra space
* Legibility tweaks
* Fixing border radius
* Making close button a real button
* Remove trailing space, plz don't re-add, Prettier
* Centering that banner
* Modified Survey header styles
* Inline Banner content at the usage site
* Fix flash by using CSS variables
Co-authored-by: Dan Abramov <dan.abramov@me.com >
Co-authored-by: Brian Vaughn <bvaughn@fb.com >
2020-10-01 20:44:50 +01:00
R Nabors
32e3c7a6f9
Banner scheduling and snooze functionality ( #3283 )
...
Co-authored-by: Ricky <rickhanlonii@gmail.com >
2020-09-28 12:01:56 +01:00
Dan Abramov
2e02d9caf6
Add generic banner infrastructure ( #3274 )
2020-09-25 13:17:56 +01:00
Dan Abramov
1becaff62a
End the banner campaign ( #3275 )
2020-09-21 15:51:11 +01:00
R Nabors
dbed3cf411
Removing those darn quotes. ( #3172 )
2020-08-04 19:58:42 +01:00
R Nabors
64c51d419f
Adding a little feedback form to the bottom of each page using GA ( #3170 )
2020-08-04 17:16:25 +01:00
David Barratt
08503a8318
Make og:type article for markdown pages ( #3146 ) ( #3147 )
2020-08-04 11:07:56 +01:00
Rusimbi Patrick
bb8b0147a8
Fix community anchor link to make it clear on all desktop/laptop screens ( #3134 )
2020-07-25 23:47:58 -04:00
Brian Vaughn
72b9b1aab8
Added Privacy and Terms footer links ( #3087 )
2020-07-07 11:32:39 -04:00
Brian Vaughn
3e4f2687c6
Update copyright headers ( #3086 )
...
Added and updated copyright headers.
Added some missing Flow types.
Removed an invalid prop-types import.
2020-07-07 10:35:57 -04:00
Sunil Pai
c9b990070f
remove grayscale treatment ( #3024 )
...
As per https://twitter.com/sliminality/status/1269033413488459776 , there's feedback that the contrast isn't great for reading. I myself have trouble with low contrast text, (and long sightedness), and I thought it was fine. I was clearly mistaken. Removing this for now to get back to a non harmful position, and we can decide later what to do instead.
2020-06-05 18:55:25 -07:00
Dan Abramov
7aace64d6a
Fix flow
2020-06-03 15:53:59 +01:00
Dan Abramov
76f696dc8c
CSS fixes for BLM styling
2020-06-03 15:43:38 +01:00
Dan Abramov
5eeb441074
Add a BLM banner
2020-06-01 17:04:53 +01:00