Danny Calleri
5a0b1ef56d
Better documentation for setupTests.js when ejecting ( #3656 )
...
* Better documentation for setupTests.js when ejecting
When running `npm run eject` before creating `src/setupTests.js`, the resulting `package.json` file, won't contain any entry for it - and this is correct in my opinion, since otherwise Jest will crash - but it's useful to have it documented and avoid pointless waste of time.
* Added additional note about src/setupTests.js
Added another note about src/setupTests.js and `npm run eject` in Testing Components section
* Update README.md
* Update README.md
2018-01-09 15:25:59 +00:00
Mario Nebl
344ddfa30e
Add SVG asciicast ( #3677 )
...
* Add svg screencast
* Use svg screencast
2018-01-09 15:21:52 +00:00
David Gilbertson
fd1a2441b7
Fix typo ( #3478 )
...
'more' and 'simpler' together is incorrect.
2018-01-09 15:17:19 +00:00
Juhamatti Niemelä
d61a3313f6
Fix asset size comparison for multi build stats ( #3514 )
...
If create-react-app project is ejected and webpack configuration is
modified to multi build setup FileSizeReporter would fail.
In those situations `webpackStats` parameter would contain stats array
for each build. This fix will try to access stats and then falls back
to using plaing webpackStats object.
2018-01-09 15:13:59 +00:00
Evan You
bef40eeb84
Add editor support for Sublime Dev & VSCode Insiders ( #3700 )
2018-01-09 15:10:31 +00:00
Ulrik Strid
c6034703fc
Add link for automatic deployment to azure ( #1791 )
2018-01-09 14:45:51 +00:00
Dan Abramov
ea1b81b835
Add data fetching doc to TOC
2018-01-09 14:22:35 +00:00
Dan Abramov
d1adff07ff
Document AJAX requests
2018-01-09 14:21:50 +00:00
Daniel Verejan
d3a1765470
Update the string that clears the console. ( #2071 )
...
* Update the string that clears the console.
#1914
I've tested it with Windows 10 and 7, node versions from ~5.0.0 up to 7.7.0.
Didn't managed to test it on 8 but it should be fine.
* Update windows string
Add windows specific string for clearing the console.
2018-01-09 13:46:29 +00:00
Rafael E. Poveda
e3e8cdd699
Support setting none in REACT_EDITOR env variable ( #3721 )
...
* add support to set REACT_EDITOR to none
* change README message
* change condition to avoid problems with editor being null
* move condition to avoid extra code
2018-01-09 12:35:43 +00:00
Dan Abramov
1c8a7f3fec
Document that src/setupTests.js doesn't work if created after ejecting
2018-01-08 23:48:06 +00:00
Dan Abramov
21d0723d3c
Be clearer
2018-01-08 23:42:09 +00:00
Dan Abramov
9d13edc1ee
Add missing TOC entry
2018-01-08 23:31:47 +00:00
Dan Abramov
8234e4658d
Add missing TOC entries
2018-01-08 23:30:36 +00:00
Dan Abramov
3a009b3403
Document NODE_PATH
2018-01-08 23:18:17 +00:00
Mae Capozzi
5e2c05151c
Update README.md ( #3717 )
...
* Update README.md with a note that reminds users to prepend REACT_APP_ to their environment variables.
* Based on #865 , where Dan Abramov suggests the person who filed the issue create a PR with these changes.
* Took the language from [Adding Custom Environment Variables](https://github.com/facebookincubator/create-react-app/tree/master/packages/react-scripts/template#adding-custom-environment-variables )
2018-01-08 22:31:43 +00:00
Dan Abramov
ce07e98bbd
Relax no-cond-assign rule ( #3716 )
...
Fixes #2793
2018-01-08 21:34:01 +00:00
Dan Abramov
419e4d8f57
Add a note about Babel
2018-01-08 21:32:01 +00:00
Ernesto García
1b067c5659
Autodetect MacVim editor ( #3545 )
...
Adds support for the error overlay to detect and open the file with the error in MacVim.
Relates to #2636 .
2018-01-08 21:08:29 +00:00
Dan Abramov
077dc228ee
Update README.md
2018-01-08 20:59:38 +00:00
Clayton Ray
58e31f9b97
Update readme.md ( #3712 )
...
Add TypeScript to **Popular Alternatives**
2018-01-08 19:53:56 +00:00
Dan Abramov
7ecbc029c7
Update README.md
2018-01-08 18:51:09 +00:00
Dan Abramov
b2f48ceae3
Update README.md
2018-01-08 18:42:45 +00:00
Dan Abramov
4bbff3b96b
Update README.md
2018-01-08 18:00:47 +00:00
Dan Abramov
5e2290b2b9
Update README.md
2018-01-08 17:57:55 +00:00
Dan Abramov
965eddc5ff
Update README.md
2018-01-08 17:55:58 +00:00
Dan Abramov
7f081adc46
Rewrite README
2018-01-08 17:50:50 +00:00
Dan Abramov
43e794ddbb
Add a link to an overview
2018-01-08 17:07:08 +00:00
Dan Abramov
0ce81854c8
Use npx in README
2018-01-08 17:03:44 +00:00
Dan Abramov
6c594ada57
Link to a new help section
2018-01-08 14:42:49 +00:00
Dan Abramov
8bb72919cc
on -> to
2018-01-08 14:42:40 +00:00
Dan Abramov
16934fad47
Add a section on publishing components to npm
2018-01-08 14:40:24 +00:00
Dan Abramov
4f0cdcffa9
Fix the router doc
2018-01-08 14:36:28 +00:00
Dan Abramov
553712636d
Link to React docs
2018-01-08 14:33:03 +00:00
Dan Abramov
f175c90753
Link to section about routing
2018-01-08 14:31:09 +00:00
Dan Abramov
1908dd11fb
Link to a new user guide section
2018-01-08 14:29:46 +00:00
Dan Abramov
1c9301ad2f
Add a section on supported browsers
2018-01-08 14:29:14 +00:00
Dan Abramov
ece9523056
Link to an explanation for forking react-scripts ( #3710 )
2018-01-08 14:16:45 +00:00
Dan Abramov
bb718307ba
Document adding a router ( #3709 )
2018-01-08 14:02:26 +00:00
Norris Oduro
8cae659ec5
Fix path regex match bug ( #3686 )
...
* Fix path regex match bug
* Use the escape-string-regexp package to escape regex characters
* Remove redundant character escape from path
* Add removed escape of backslashes
2018-01-04 13:15:50 -05:00
Quentin Bahers
12120f6f55
Fix typo in the User Guide ( #3670 )
...
Replace `provide a lot value` with `provide a lot of value`.
2018-01-02 11:53:45 -05:00
Elie
5d7845a733
Update README.md ( #3645 )
2018-01-02 11:15:32 -05:00
Christian Danielsen
76e3165412
Use friendlier syntax for setting env var on Windows ( #3533 )
...
* use safer/more aesthetic syntax
* fix typo
2018-01-02 11:01:42 -05:00
Amadeo Gallardo
ed5c48c81b
Updated Debugging Tests for VSCode ( #3605 )
...
The launch configuration code provided is not compatible with VSCode since version 1.19.
The proposed documentation change is based on the response by a VSCode team member.
References:
https://github.com/facebookincubator/create-react-app/issues/3602#issuecomment-352075571
https://github.com/Microsoft/vscode/issues/40293#issuecomment-352017028
2017-12-18 15:36:32 -05:00
Nils Magnus Englund
bd682de1f6
Fixed typo in webpack.config.dev.js ( #3601 )
...
Replaced `it's` with `its`
2017-12-15 13:17:33 -05:00
Rahul Chanila
a1c5b8f705
Updates comment to reflect codebase ( #3576 )
...
the code got updated from `detect()` to `choosePort` while the comment did not.
2017-12-10 21:10:19 -05:00
Ian Sutherland
af291f3cb6
Add mjs and jsx filename extensions to file-loader exclude pattern ( #3537 )
2017-12-07 13:20:45 -05:00
Dan Abramov
9af042263f
Unmount the App in the default test ( #3511 )
2017-11-27 22:32:57 +00:00
Aaron Lamb
770fdf4ba1
Update User Guide with deploying to GitHub User pages ( #3510 )
2017-11-27 16:28:42 -05:00
David Gilbertson
733ba3ab41
Add link to nvm-windows ( #3489 )
2017-11-27 08:07:07 -05:00