Ben Rogers-McKee
53d279e370
fix: challenges navigation ( #4123 )
* fix: challenges navigation
* fix: challenges navigation alternate solution
* fix: challenges navigation assert non null on find
* refactor: unnecessary default value
3 years ago
Mark R. Florkowski
ec65cc000c
Add "click to copy" to TerminalBlock ( #4025 )
* add click to copy to TerminalBlock
* rebase + changes
* fix 'Not all code paths return a value.'
* fix svg jsx
* fix lint errors
3 years ago
Danilo Woznica
d80ef566a3
Sandpack: upgrade dependencies and adds ReactDevtools ( #4161 )
* upgrade sandpack dependencies
* update csb button
* remove unnecessary ref
* add react dev tools
* remove duplicated/unnecessary element
* fix: codemirror gutter
* fix codemirror gutter
* make devtools optional
* bump sandpack version
* fix: add website theme to the react devtools
* fix: react devtools ui tweaks
* devtools: custom theme
* refactor: reset sandbox
* fix sandpack
* fix: devtools style
* fix: tweaks on mobile version
* fix: soft refresh when module is loaded
* bump sandpack version
* update color
* remove demo
* remove inspect button
* bring back key logic
* refactor: icon align
* update sandpack
* logic to keep the content synced
3 years ago
Strek
51105970b7
Removed google analytics for dev ( #4233 )
3 years ago
Strek
d84b74040c
Bump next ( #4228 )
3 years ago
R Nabors
b1f91c92f4
Analytics for Beta ( #4224 )
* adding google analytics metrics to beta
* adding google analytics metrics to beta
3 years ago
Strek
3143db5a8e
Updates deployment in readme from netlify to vercel ( #4225 )
* updates readme
* removed hosting provider name
3 years ago
Juyeong Byeon
9ed29b0df6
fix: "…" spread syntax is not an "operator" but document saying that is an "operator" so it can make developers confused ( #4209 )
3 years ago
Strek
cd1b0dfed9
Changed the version generation script to update vercel.json instead of _redirects ( #4136 )
* Changed the version generation script to update vercel.json instead of _redirects
* Fix prettier failures
* Expected to return a value at the end of async function 'writeRedirectsFile'
* Add same script for beta as well
* Fixes review comments
* Fixes formatting in old site
3 years ago
Strek
0b21acb5ab
Added hook to validate if headings are present or not ( #4143 )
* Added hook to validate if headings are present or not
* Remove un wanted default param
* Add validate Ids to ci check too
* Revamp heading id generation and validation workflow
* Update validateHeadingIDs.js
3 years ago
Vaibhav Shukla
af768b4618
FIXED: broken 'translated' link ( #4223 )
* FIXED: broken 'translated' link
removed broken weblink which leads to 404 page
* FIXED: broken 'translation' link
3 years ago
Lukasz Baranowski
b41b1dc356
Docs - phrasing sentence in conditional rendering article ( #4196 )
3 years ago
Ahmet Faruk Yılmaz
ee304b6aae
Fix typo in Removing from an array part ( #4171 )
3 years ago
Sofya Tuymedova
014f4890dc
docs: fix a typo ( #4166 )
3 years ago
bigfang
7d9c9e80d2
fix slice() link ( #4156 )
3 years ago
yang
aa70dcedc6
fix: correct the link to navigate to the team page ( #4146 )
* fix: correct the link to navigate to the team page
* remove .html
Co-authored-by: Strek <harish.sethuraman@freshworks.com>
3 years ago
CatsAndDogs123
86eb509781
[fix]: add-listner is deprecated, switched those to add-event-listner ( #4093 )
3 years ago
Strek
f625b86a48
Comment the script ( #4139 )
3 years ago
Soichiro Miki
a655e410fa
Fix a typo ( #4138 )
3 years ago
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
3 years ago
Strek
3f3e109ad7
Fix markdown comment breakage in community page ( #4127 )
3 years ago
Marek Bodinger
0057efa12c
Fix description to match code in referencing-values-with-refs.md ( #4097 )
3 years ago
Sofya Tuymedova
d8800be079
chore: fix typos ( #4121 )
3 years ago
Strek
c6353b9853
chore: fix typo ( #4104 )
3 years ago
Strek
40c8cd2df9
Add check-all script for beta site ( #4120 )
* Update package.json
* Update README.md
* Update package.json
* Add tsc for check-all as well
* Update README.md
* Update README.md
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
3 years ago
Dan Abramov
bd727cfc88
Update README.md
3 years ago
Strek
17ad2cbc71
Fixes unwanted scrolls in mobile ( #4114 )
* added word break
* Update PageHeading.tsx
3 years ago
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 43dbe9ed3fba10b03a90d989cf90b4af4efd2212.
* Revert "dry run prettier"
This reverts commit b62948042cd8f8addf8ee23110de4096a8630926.
* Revert "dry run prettier"
This reverts commit 382f9a4691dee04673e461b3eda0d52c1aefda3b.
* Revert "Reverse merge main to branch"
This reverts commit 43667eaf29b9ab4266397251c8d781f611dcdcf8.
* [warn] jsxBracketSameLine is deprecated so replaced it to bracketSameLine
3 years ago
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
3 years ago
Titus
4022f9774b
Use custom ID format that works better with MDX 2 ( #4105 )
* Fix two unicode whitespaces which are invalid
* Use custom ID format that works better with MDX 2
* Fix sebastian
* remark-slug as dev dep
3 years ago
harish-sethuraman
7254849ade
Stop zooming for search input ( #4094 )
3 years ago
harish-sethuraman
d9901c44d3
Update algolia.css ( #4092 )
3 years ago
harish-sethuraman
64e236cf84
Typo fixes ( #4091 )
* chore: fix typo
* Update referencing-values-with-refs.md
* Fix typo of typo
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
3 years ago
Alexey Pyltsyn
eb84de7444
Enable dark mode in browser UI ( #4089 )
3 years ago
Alexey Pyltsyn
719aa3c377
Allow page zooming/scaling ( #4082 )
* Allow page zooming/scaling
* Fix for iOS
3 years ago
Alexey Pyltsyn
5c1f51316f
Add support for Unicode chars when detect headings IDs ( #4086 )
3 years ago
harish-sethuraman
f31c9fdae8
Remove unwanted dependency ( #4083 )
3 years ago
Alexey Pyltsyn
e206d8cdf1
Set page layout dynamically ( #4084 )
3 years ago
Alexey Pyltsyn
0b7fd7b7a4
Add git hook to generate headings ids ( #4043 )
* Add git hook to generate headings ids
* Fixes "Analyze Bundle" workflow
3 years ago
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
3 years ago
Dan Lebowitz
29fbe65acb
fix safari bug
3 years ago
Dan Lebowitz
23c09e0072
polish dark mode illustrations
3 years ago
Dan Abramov
b761b81322
Fix typo
3 years ago
harish-sethuraman
967bf1f152
Update doc ( #4077 )
3 years ago
Danilo Woznica
8ed148b2ca
fix(sandpack): upgrade dependencies ( #4075 )
* fix(sandpack): upgrade dependencies
* fix(sandpack): remove selector that relies on the editor state
3 years ago
beet
7f995398f4
Fix alternative solution to add and remove a CSS class ( #4027 ) ( #4072 )
* Fix alternative solution to add and remove a CSS class (#4027 )
* Update reacting-to-input-with-state.md
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
3 years ago
Matthew Martinez
c29bcd7ed7
edit sandpack style overrides to also cover 'dirty' case ( #4070 )
Co-authored-by: Matt Martinez <matmartinez@bills.com>
3 years ago
Dan Abramov
ff7d2a1efa
Try to add bundle analyzer
3 years ago
Dan Abramov
075b786344
Restore scroll after 'show less' ( #4056 )
* Restore scroll after 'show less'
* Get the whole sandbox into view
3 years ago
Alexey Pyltsyn
aa5212b1b8
Adjust code line numbers background ( #4055 )
* Adjust code line numbers background
* Fixes after review
3 years ago