react/packages/shared
Sebastian Markbåge 3e94bce765
Enable prefer-const lint rules (#18451)
* Enable prefer-const rule

Stylistically I don't like this but Closure Compiler takes advantage of
this information.

* Auto-fix lints

* Manually fix the remaining callsites
2020-04-01 12:35:52 -07:00
..
__tests__ Enable prefer-const lint rules (#18451) 2020-04-01 12:35:52 -07:00
forks Enable prefer-const lint rules (#18451) 2020-04-01 12:35:52 -07:00
checkPropTypes.js Enable prefer-const lint rules (#18451) 2020-04-01 12:35:52 -07:00
consoleWithStackDev.js Fix missing stacks in WWW warnings (#17638) 2019-12-17 15:21:18 +00:00
describeComponentFrame.js Enable prefer-const lint rules (#18451) 2020-04-01 12:35:52 -07:00
enqueueTask.js Enable prefer-const lint rules (#18451) 2020-04-01 12:35:52 -07:00
ExecutionEnvironment.js give canUseDOM with a possibility to be a constant (#14194) 2019-04-25 11:28:53 +01:00
formatProdErrorMessage.js Pass prod error messages directly to constructor (#17063) 2019-10-11 09:10:40 -07:00
getComponentName.js Enable prefer-const lint rules (#18451) 2020-04-01 12:35:52 -07:00
invariant.js Compile invariant directly to throw expressions (#15071) 2019-03-18 13:58:03 -07:00
invokeGuardedCallbackImpl.js Enable prefer-const lint rules (#18451) 2020-04-01 12:35:52 -07:00
isValidElementType.js Remove ConcurrentMode and AsyncMode symbols (#18450) 2020-04-01 10:18:52 -07:00
objectIs.js Update to flow 0.97 (#17892) 2020-01-24 10:52:38 -08:00
package.json Drop Haste (#11303) 2017-10-25 02:55:00 +03:00
ReactElementType.js Update Flow to 0.84 (#17805) 2020-01-09 14:50:44 +00:00
ReactErrorUtils.js Drop the year from Facebook copyright headers and the LICENSE file. (#13593) 2018-09-07 15:11:23 -07:00
ReactFeatureFlags.js Remove disableMapsAsChildren flag (#18445) 2020-03-31 11:00:51 -07:00
ReactInstanceMap.js Rename internal fields (#18377) 2020-03-24 18:19:20 +00:00
ReactSharedInternals.js Don't support older isomorphic React with newer renderers (#18329) 2020-03-17 19:30:10 +00:00
ReactSymbols.js Use Closure Compiler to compile to ES5 instead of Babel (#18449) 2020-04-01 12:08:37 -07:00
ReactTypes.js Formalize the Wakeable and Thenable types (#18391) 2020-03-25 16:49:37 -07:00
ReactVersion.js Update package.jsons for 16.13.1 patch relase 2020-03-19 12:58:31 -07:00
shallowEqual.js Separate Object.is polyfill (#14334) 2019-01-08 14:21:12 +00:00