mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
- substr is Annex B - substring silently flips its arguments if they're in the "wrong order", which is confusing - slice is better than sliced bread (no pun intended) and also it works the same way on Arrays so there's less to remember --- > I'd be down to just lint and enforce a single form just for the potential compression savings by using a repeated string. _Originally posted by @sebmarkbage in https://github.com/facebook/react/pull/26663#discussion_r1170455401_ |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| getComments.js | ||
| transform-object-assign.js | ||
| transform-prevent-infinite-loops.js | ||
| transform-react-version-pragma.js | ||
| transform-replace-console-calls.js | ||
| transform-test-gate-pragma.js | ||