dan
e6b843bb84
[Beta] Change useState structure, add examples ( #4276 )
...
* [Beta] Change useState structure, add examples
* Simpler language
* Nix when not to use it
2022-02-03 00:29:33 +00:00
dan
abca1f4495
Use MDXContext directly ( #4267 )
...
* Use MDXContext directly
* yolo
2022-02-01 13:19:17 +00:00
CatsAndDogs123
86eb509781
[fix]: add-listner is deprecated, switched those to add-event-listner ( #4093 )
2021-12-03 17:30:05 +05:30
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
Strek
ea086bd312
Fixing Eslint configuration ( #4087 )
...
* fix-collapsable-color
* Made Eslint work and added next's eslint config
* Add lint:fix to pre commit rule
* Reverts older anchor links
* Fixed review comments
* Replace with spaces like before
* Update DocsFooter.tsx
* Update arrow function
* Update CodeBlock.tsx
* Update MDXComponents.tsx
* Update SidebarLink.tsx
2021-11-15 15:33:15 +00:00
harish-sethuraman
8333b6d127
Fixes wrong breadcrumb for 404 page ( #4074 )
...
* Fixes wrong breadcrumb for 404 page
* Change Home as default layout
* Add layout Learn to the pages inside learn
2021-11-10 18:10:20 +00:00
Dan Lebowitz
e915345e61
add additional bottom padding to mobile sidebar
2021-11-06 12:42:40 +00:00
Dan Abramov
9affdc9a5a
Only show sidebar scrollbars when needed ( #4052 )
...
* Adjust sidebar scrollbars
* thinner
2021-11-06 01:12:57 +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
Alexey Pyltsyn
a803dbfe19
Fix horizontal scrollbar on desktop ( #4038 )
2021-11-04 16:23:54 +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