Danilo Woznica
b10ae600dc
sandpack: bring back init mode ( #4337 )
* sandpack: bring back init mode
* upgrade sandpack
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
Danilo Woznica
4d005ad7e0
fix(sandpack): disable init-mode ( #4278 )
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
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
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
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
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
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
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
f31c9fdae8
Remove unwanted dependency ( #4083 )
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
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
Dan Abramov
ff7d2a1efa
Try to add bundle analyzer
3 years ago
Dan Abramov
8cd97ad66a
Bump to Next 12 ( #4037 )
3 years ago
Dan Abramov
1c2f980f01
[Beta] Add bundle analyzer ( #4036 )
3 years ago
Danilo Woznica
9707812678
fix(sandpack): do not translate code blocks ( #4034 )
3 years ago
Rachel Nabors
926dbeeb7c
Re-add public folder
3 years ago
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>
3 years ago