Dan Abramov
b174aec9a9
Tweak
3 years ago
dan
881e0a0933
[Beta] Document derived state ( #4297 )
* [Beta] Document derived state
* shorten
3 years ago
Strek
1e79ed6890
Removes readme and contributing.md from generate heading lint ( #4295 )
* Removes readme and contributing.md from generate heading
* lint only markdowns in source
3 years ago
dan
73d7d13446
[Beta] Move /reference -> /apis ( #4294 )
* [Beta] Move /reference -> /apis
* come on
* Update CONTRIBUTING.md
* Update sidebarReference.json
3 years ago
Danilo Woznica
4d005ad7e0
fix(sandpack): disable init-mode ( #4278 )
3 years ago
Danilo Woznica
52393daffe
fix(useMediaQuery): adds fallback to matchMedia ( #4289 )
3 years ago
dan
001b1f021b
[Beta] useState API: Best of the both words? Haha just kidding... Unless?... ( #4284 )
* Dry version
* Here we go again
* Recreation lol
* Some tweaks (#4285 )
* tweaks
* edit
Co-authored-by: Sophie Alpert <git@sophiebits.com>
3 years ago
Jerson Zúñiga-Coayla
5479670315
fix: typo ( #4279 )
3 years ago
dan
e6b843bb84
[Beta] Change useState structure, add examples ( #4276 )
* [Beta] Change useState structure, add examples
* Simpler language
* Nix when not to use it
3 years ago
dan
84742f0b0b
Fix typo
3 years ago
dan
75db8f2c36
[Beta] Rename TaskBoard -> TaskApp in examples ( #4271 )
* [Beta] Rename TaskBoard -> TaskApp in examples
* Update another page
* Update another page
* Update another page
* Update another page
3 years ago
Danilo Woznica
626f957364
fix(sandpack): improve memory usage ( #4126 )
* fix(sandpack): init mode
* init mode tweaks
* sandpack preview: keep loading state while preview is still working
* prettify it
* fix: renew client listener on remount
3 years ago
Dan Abramov
c8ad67d379
Fix deps
3 years ago
Dan Abramov
7d1e054fb0
Remove unused patch
3 years ago
dan
abca1f4495
Use MDXContext directly ( #4267 )
* Use MDXContext directly
* yolo
3 years ago
dan
58d6f3f9fc
Prevent nav context re-renders ( #4266 )
3 years ago
dan
17e91d83fe
[Beta] Address Quick Start review nits ( #4264 )
* Address review nits
* Update beta/src/pages/learn/index.md
Co-authored-by: Ricky <rickhanlonii@gmail.com>
* Update beta/src/pages/learn/index.md
Co-authored-by: Ricky <rickhanlonii@gmail.com>
* edits
* edits
* edit
Co-authored-by: Ricky <rickhanlonii@gmail.com>
3 years ago
dan
38057903ec
[Beta] Reorder useState page ( #4265 )
3 years ago
Brennon Bortz
5f0549c86e
chore: fix typo ( #4255 )
Fix typo in quick start
3 years ago
Strek
e1dcbffde1
bump next to latest ( #4251 )
3 years ago
Strek
3564e690b8
Introduce lint staged ( #4240 )
* Commit lint staging
* Add mdx parser for prettier
* fix css
* Fixed lint staged for md
* Fixed markdowns
* Revert prettifying markdown since build fails
* Removed css command and included with tsx
* replace with older readme and contibuting
3 years ago
dan
1c355ab630
[Beta] Change "You will learn" for chapters ( #4239 )
3 years ago
dan
b22c3d6865
[Beta] Rewrite Quick Start ( #4245 )
* [Beta] Rewrite Quick Start
* Tweaks
3 years ago
Dan Abramov
2b2ac5c3bf
Fix download label
3 years ago
dan
4451e5b0b3
Make line highlight full width ( #4246 )
3 years ago
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