Contributor 忍者

Your next contribution starts here.
Help open-source projects one issue at a time.

JavaScript
Search for issues


Bug
Domain: Error Messages
TypeScript: Better error message when users mistakenly import from named vs. default export
At google, we've had a number of users trip over import syntax when working with libraries that have default exports. Given this scenario: `has_named_export.ts` ``` export var a = 1; ``` `has_default_export.ts` ``` var b = ''; export default b; ``` 1) Users often do: ``` import {b} from './has_default_export'; ``` which gives: `Error: module has no exported member 'b'` R
claimed
Has PR
babel: Add more tests for ignore and only
We've got a TODO here: https://github.com/babel/babel/blob/6af8e647114d533c4191653199347921b2f90e40/packages/babel-core/test/config-chain.js#L35 our coverage for general ignore and only behavior is a little lacking.
Has PR
pkg: generator
babel: Code Coverage: babel-generator
### Context When I was reviewing https://github.com/babel/babel/pull/5317 again I noticed we lost some code coverage in the PR. ![screen shot 2017-02-16 at 11 49 36 am](https://cloud.githubusercontent.com/assets/588473/23031166/021ba892-f43e-11e6-9b1b-f2659b6224bc.png) ^ The red boxes are the places where coverage was decreased. I clicked on the red box to get ![screen shot 2017-02-16
Has PR
babel: Make babel-node a standalone package (similar to babel-register)
> Ref https://twitter.com/thejameskyle/status/827993163348353025 https://unpkg.com/babel-node@6.5.2/message.js This would be similar to how we used to have `babel-core/register` -> `babel-register` I guess we don't have to remove `babel-node` from babel-cli unless we want to make that breaking change.. cc @JonnyBurger (can you transfer me the npm package (@hzoo)) --- - [ ] Commen
claimed
Has PR
babel: [7.0] Tests: switch to jest
I think we are using like 3 different testing frameworks and would like to move to use the same one for all projects? I believe the team agreed with choosing jest a good base (and is possible since we have dropped node 0.10/0.12 in 7.0). Not sure how difficult this is but shouldn't be too bad and we can help. - [ ] Comment below you are going to do this (for others to know) - [ ] Read [CONT
claimed
enhancement
Has PR
tag: new feature
babel: Babel-cli: allow to install globally, with ability to invoke local babel
As many nodejs-related tools, it would be good to allow global babel-cli installation, which will invoke local (related to `process.cwd()`) babel installation. EDIT by @hzoo - [ ] Comment below you are going to do this (for others to know) - [ ] Read [CONTRIBUTING.md](https://github.com/babel/babel/blob/master/CONTRIBUTING.md) - [ ] [Join our slack](http://slack.babeljs.io/) if you haven't
claimed
Has PR
tag: new feature
babel: --copy-files doesn't copy dot-files
### Input Code <!--- If you're describing a bug, please let us know which sample code reproduces your problem --> <!--- If you have link to our REPL or a standalone repo please link that! --> ```js // A folder with dot-files (from dotenv NPM) config/.env config/.env.required ``` ### Babel Configuration (.babelrc, package.json, cli command) <!--- If describing a bug, tell us what your
enhancement
babel: Option comments: false does not strip out flow comments (T7044)
> Issue originally made by @Gozala ### Bug information - **Babel version:** 6.4.5 - **Node version:** 4.2.1 - **npm version:** 2.14.7 ### Options ``` { "sourceMaps": "inline", "comments": false, "sourceRoot": "./src", "presets": [ "es2015" ], "plugins": [ "syntax-flow", "transform-flow-strip-types" ] } ``` ### Input code ``` js /* @flow */ /*:: im
enhancement
theme: dark
debugger.html: [DarkTheme] Improve the select background color
The blue selected background color is pretty jarring and unnecessary. It could be much softer and have the same effect. ### Old ![Screen Shot 2017-03-08 at 10.53.09 AM.png](https://shipusercontent.com/b71ac606b30835b8b3db4f119cde0833/Screen%20Shot%202017-03-08%20at%2010.53.09%20AM.png) ### New It would be nice to change the tree and result item I chose two colors here: `--theme-body-background`
enhancement
debugger.html: [FunctionSearch] clear query after selecting an item
Currently we don't clear the query when you select a function from the function list. ### Patch ```diff diff --git a/src/components/Editor/SearchBar.js b/src/components/Editor/SearchBar.js index 7a4c581..1cd458c 100644 --- a/src/components/Editor/SearchBar.js +++ b/src/components/Editor/SearchBar.js @@ -410,6 +410,9 @@ const SearchBar = React.createClass({ line: item.location.start.line
accessibility
enhancement
debugger.html: [l10n] Add key modifiers to shortcut values
We add all of our keyboard shortcuts to the [locales] file for translating so that `cmd+p` in another language could be a more appropriate shortcut. We currently just have the key to be translated, but we should include modifiers like cmd or shift as well. e.g. * **old** `symbolSearch.search.key=O` * **new** `symbolSearch.search.key=CmdOrCtrl+O` #### Patch ```diff diff --git a/assets/panel/d
babel-preset-env: PSA: ask other preset repos (if they are willing) to deprecate in favor of this preset
There were a few reasons we finally started preset-env (much in https://github.com/babel/babel/pull/3476). One of the reasons was similar to the problem that presets never had the ability to provide it's own options. After we added options to preset-es2015 (loose mode, modules: false for webpack, etc), it removed the need for presets like `preset-es2015-loose` and `preset-es2015-webpack` and even
discussion
enhancement
babel-preset-env: Easier way to exclude/include (especially builtIns)
Context: Docs for the include/exclude options: https://github.com/babel/babel-preset-env#include Example: https://github.com/babel/babel-preset-env#example-with-includeexclude --- This is a bit more involved, but still basically the gist is changing indexOf to handle regex. This is mostly for built-ins. There's a lot of them: https://github.com/babel/babel-preset-env/blob/master/te
bug
debugger.html: [Tabs] tab height is flush with the header
We recently broke the tab height so that it became flush with the top of the debugger. I believe #2751 might be to blame, but i'm not sure You can easily test this in the debugger or in storybook `yarn storybook` <img src='https://shipusercontent.com/3a81cf7af7290a4d7940cf2fa88d3af7/Screen%20Shot%202017-05-02%20at%206.37.29%20PM.png' title='Screen Shot 2017-05-02 at 6.37.29 PM.png' width=650>
bug
debugger.html: [Tabs] height of icons relative to text
We should polish the tab icon positioning again * both selected and unselected tabs * in RTL mode as well - In RTL there's no padding - pretty print icon is too far away - blackbox might be a pixel too high We should check in firefox and chrome The easiest way to test is in storybook `yarn storybook` <img src='https://shipusercontent.com/f0cb1dc7b634461be6947a5b9ce81f70/Screen%20Shot%202017-0
bug
debugger.html: [VerticalMode] The secondary pane toggle button is misplaced
When the debugger is in vertical mode (narrow), the toggle button should be in the bottom right (like chrome) but instead it is floating in the bottom left. We also need to double check in RTL mode as well, which can be changed in the settings pane of the launchpad. <img src='https://shipusercontent.com/f0a2da2f8283d1911e7297f300a7dbc6/Screen%20Shot%202017-05-02%20at%206.42.16%20PM.png' title='
enhancement
debugger.html: [CodeFolding] gap on a paused line
When code folding is on there i a gap in the gutter for paused lines. We can likely fix this by adding the same background color for code fold space when we're paused. You can turn on code folding in the launchpad settings pane. ![](http://g.recordit.co/XrxPxwUgba.gif)
docs
ava: tape/tap transition guide
Would make migrating from tape easier if AVA & tape shared the same API. Below is the full list of `tape` apis that don't exist in AVA. Most of these would only require a simple alias e.g. `Test.prototype.deepEqual = Test.prototype.same` Though it's possible there's benefit in divorcing the tape API entirely & just keeping the current, simpler API. For example, not sure if it was ever a good ide
enhancement
low priority
ava: Reduce installed package size
Latest master (b79fdfd8b0e5632eae338b563af1c3be29fecbca), when installed with npm@3.5.2, is 68 MB. Most of that is Babel stuff. We should look into ways we can reduce the size. <img width="400" alt="screen shot 2015-12-26 at 00 20 16" src="https://cloud.githubusercontent.com/assets/170270/12004599/76c6a812-ab66-11e5-8265-2fae153efeec.png"> _(Output from DaisyDisk)_ Turns out every single Babel
assigned
ava: We should have some tests for our benchmark scripts
https://github.com/sindresorhus/ava/pull/744#issuecomment-210477223
bug
ava: ava incorrectly ignores test files when the project itself is contained in node_modules directory
## Description I have two projects: * https://github.com/gajus/isomorphic-webpack * https://github.com/gajus/isomorphic-webpack-demo Due to the nature of the projects (`process.pwd()` aware dependency resolution), it is not possible to link `isomorphic-webpack-demo` inside `isomorphic-webpack`. Therefore, I need to do: ```bash git clone https://github.com/gajus/isomorphic-webpack
bug
ava: Version warning when only local version is behind.
If the global version is up to date, but the local version is behind, you still get an error message telling you to update, but it recommends using the `-g` flag.
enhancement
ava: --concurrency without value should fail
See https://github.com/avajs/ava/issues/1365#issuecomment-296146387. `--concurrency` requires a value but you can run AVA without specifying it.
enhancement
styled-components: Consider adding a warnings for incorrect tagged template literal usage in development
I was adding styled-components to an app and global styles weren't showing up. There weren't any errors and it wasn't immediately obvious what I was doing wrong. It turned out I was using `injectGlobal` wrong: ```js // wrong: calling injectGlobal as a function. oops. injectGlobal(`html { color: red; }`) // correct: using a tagged template literal injectGlobal`html { color: red; }` ```
type: bug
stylelint: Only the first element of the array whitelisted in media-feature-name-whitelist/blacklist
When array of future names defined for the `media-feature-name-whitelist` rule, only the first feature name of the array is whitelisted and errors reported for others. CSS to reproduce: ```css media only screen and (max-width: 1200px) { .ui-container { max-width: 1200px; margin: 0 auto; } } @media only screen and (min-width: 600px) { .ui-container { max-width: 60
type: enhancement
stylelint: Deprecate selector-no-* rules in favour of selector-max-*
Ref: https://github.com/stylelint/stylelint/pull/2474 I did an audit of the 50 or so `-no-` rules. The good news is that it is only some the `selector-no-*` rules that are applying a limit and would be better suited as `-max-` rules. I believe these are: - [ ] `selector-no-attribute` -> `selector-max-attribute` ("attribute" is shorthand for _attribute selector**s**_) - [ ] `selector-no-c
type: option
stylelint: Add except: ["first-nested-and-blockless"] option to at-rule-empty-line-before
> Describe the issue. Is it a bug or a feature request (new rule, new option, etc.)? If this rule checked for `@media` or perhaps an end brace: ```css @media screen and (min-width: 480px) { ``` It would allow syntax like this not to need to be ignored with `/* stylelint-disable-line */`. > Which rule, if any, is this issue related to? at-rule-empty-line-before > What CSS is nee
type: option
stylelint: Add ignoreProperties: [] option to value-keyword-case
<!-- Please answer the following questions. Issues that don't use this template will be closed. --> > Describe the issue. Is it a bug or a feature request (new rule, new option, etc.)? "A feature request" > Which rule, if any, is this issue related to? `value-keyword-case` > What CSS is needed to reproduce this issue? ```css .elementWithCamelCaseName {} .element { composes
non-standard syntax: less
type: bug
stylelint: False positives for at-variables prefixed with negative sign in value-keyword-case
<!-- Please answer the following questions. Issues that don't use this template will be closed. --> > Describe the issue. Is it a bug or a feature request (new rule, new option, etc.)? bug > Which rule, if any, is this issue related to? value-keyword-case > What CSS is needed to reproduce this issue? ```less .foo { width: @myWidth; height: -@myHeight; margin: 0 - @myMar
type: option
stylelint: Add except: ["after-closing-brace"] option to block-closing-brace-empty-line-before
<!-- Please answer the following questions. Issues that don't use this template will be closed. --> > Describe the issue. Is it a bug or a feature request (new rule, new option, etc.)? Possibly a bug, but most likely a feature request. I'd like to be able to force an empty line at the end of a media query—we can do it at the top of a media query, but I can't seem to find how to do it at t
enhancement
mojs: Typescript declarations / usage
Hi, Is it possible to use your library directly with Typescript instead of Babel? Thanks!
mojs: Initialise `mojs` instance only after the `DOMContentLoaded`
This will ensure that autogenerated modules like `Shape` are not broke if you link the `mojs` script to the `<head>`. Something like this should do: ```javascript const doc = document; const docState = doc.readyState; if (docState === "complete" || docState === "loaded" || docState === "interactive") { // initialisation } doc.addEventListener('DOMContentLoaded', () => { /* initi
enhancement
mojs: indexing on Tween cunstructor with stagger
Can we have indexing when we use Tween cunstructor with stagger? I will try to explain it better with code ``` const Stagger = mojs.stagger( mojs.Tween ); const tween = new Stagger({ duration: 350, quantifier: 4, delay: 'stagger(0.5)', onUpdate: (ep, index) => { console.log("tween no " + index + ": " + ep[index]); } }) ``` and this will return ```
lerna: `lerna init` should prompt for a packages location and create any directories specified
<!--- Provide a general summary of the issue in the Title above --> ## Expected Behavior <!--- If you're describing a bug, tell us what should happen --> <!--- If you're suggesting a change/improvement, tell us how it should work --> Lerna should create an empty `packages/` directory when running `lerna init` as described in the README. ## Current Behavior <!--- If describing a bug, te
Tag: Documentation
lerna: Document the packages option better
Ref https://github.com/lerna/lerna/issues/11#issuecomment-278474277 Maybe add some more examples or usecases common one is people wanting to use the root as a package so you would say `"."` in https://github.com/lerna/lerna#lernajson
actionnable
bug
yo: Suggestion for installing scoped generator is wrong
## Type of issue Bug <!-- Please delete the rest of the template in case of a feature request --> ---- ## My environment * *OS version/details*: `Windows 10 64-bit` * *Node version:* `6.1.0` * *npm version:* `4.5.0` * *Version of yo :* `1.8.5` ## Expected behavior Attempting to run a scoped generator (e.g. `yo @somescope/somegen`) should tell the user how to install it if i
actionnable
feature
yo: Improve error message when you do `yo generator-foo`
I'm new to yeoman and missed that you use the generator- prefix when installed the package from npm, but NOT when you run the generator. Try to run `yo generator-foo` and you get the standard error message when the generator is not installed: `You don’t seem to have a generator with the name “generator-gulp-sass-livereload” installed.` But it seems like there could be some simple check to se
discussion
vue-cli: New template: `Webpack - Server-side rendering`
Vuejs 2.0 has 1 nice feature is server-side rendering. But setup this feature runs correctly somehow is too pain for newbie. So I think it's nice to add a new template support server-side rendering.
Bug
TypeScript: CompilerHost.getSourceFile is being called for odd filenames besides the one being compiled
**TypeScript Version:** 2.1.4 **Code** I'm trying to write a CompilerHost for an in-memory system, so I have to deal with each filename passed to getSourceFile. When debugging I noticed that the compiler is calling into getSourceFile with the file I'm trying to compiler, along with filenames that are only extensions, like `.ts`, .tsx`, and `.js` (that one only if `allowJs` is true). Here
claimed
Has PR
babel: Need --delete-dir-on-start or --delete-file-when-src-file-deleted option for babel --watch flag
### Babel Configuration (.babelrc, package.json, cli command) <!--- If describing a bug, tell us what your babel configuration looks like --> ```js { "presets": [ "flow", ["env", { "targets": { "node": true } }] ], "retainLines": true } ``` ### Watch Script ```js "watchToBuild": "babel app_flow --watch --out-dir app" ``` ### Expect
Breaking Change
Bug
TypeScript: Octal escape sequences should be a lexical/syntactic error in strict mode and ES5
The following code should be disallowed in strict mode and ES5: ``` "\5"; "\05"; "\55"; "\055"; ``` This is disallowed by Annex B.1.2 of the EcmaScript 5 spec.
ember.js: [BUGFIX release] Fix classify for spaced strings
Resolves #13042
1.x
bug
vue: Interpolation fails on inline string containing HTML
As demonstrated in [this fiddle](https://jsfiddle.net/chrisvfritz/dtvcthkh/), the following is interpreted literally: ``` html <p>{{{ '<strong>hello</strong> world' }}}</p> ``` Instead, I would expect it to produce: ``` html <p><strong>hello</strong> world</p> ``` This also occurs with normal interpolation (`{{ }}`).
Has PR
ember.js: Allow running acceptance tests without jQuery
As part of the work of the work performed in https://github.com/cibernox/ember-native-dom-helpers to provide consistent jquery-free test helpers that work both in integration and acceptance I've found that acceptance tests don't work without jQuery. The reason for that is (at least) this file: https://github.com/emberjs/ember.js/blob/master/packages/ember-testing/lib/setup_for_testing.js#L38-L4
Has PR
ember.js: [Project Svelte] Deprecation Introduction Hitlist
## Wanted We need to know in which versions of Ember these deprecations were introduced. Please simply report the version a specific id was introduced. To ensure that we don't have overlapping efforts, please state what deprecation you are investigating before you do the work. ## Why With the eventual introduction of Svelte builds, there will be a mechanism to say "strip out any code for de
ember.js: [EPIC] Decouple Ember tests from the globals resolver
![](https://media.tenor.co/images/2b62869d23e1f9f407691b855cf8fd4a/tenor.gif) (lifted some of this introduction from [#15055](https://github.com/emberjs/ember.js/pull/15055)) The Ember test suite is very coupled to the default globals-mode resolver. For example: - Tests often make a controller available to an application as `App.FooController` - Tests often use `setTemplates` to set a te
Needs Reproduction
Query Params
ember.js: queryParams not working if the locationType is set to hash
I'm unable to access ember queryParams when the locationType in the environment.js file set to hash. Below is how my controller and route are setup //controllers/application.js export default Ember.Controller.extend({ queryParams:['qp1','qp2'] }); //routes/application.js model : function(params) { console.log('queryParams1': +par
Deprecation
ember.js: Deprecate `didCreateRootView`
This was added for fastboot, but is no longer used. It also leaks the "top-level view" which is not really a thing anymore.
Bug
ember-cli: removePackageFromProject fails with yarn if package is not present
I noticed this while switching a project over to ember-cli-mocha from ember-cli-qunit. Exact repro steps from a new ember-cli project: 1. `ember new my-app` 2. `cd my-app` 3. `yarn install` (to get lockfile) 4. `yarn remove ember-cli-qunit` 5. `ember install ember-cli-mocha` When `yarn remove` is run, it throws an exception that breaks running the addon blueprint. Here's [the line in the
Enhancement
Ready for PR
ember-cli: "ember install" with repo URL should guess package name from URL
Run ```command ember install "https://github.com/kaliber5/ember-bootstrap#bs4-blueprint" ``` You will get the following warning line in the output. ``` WARNING: Could not figure out blueprint name from: "https://github.com/kaliber5/ember-bootstrap#bs4-blueprint". Please install the addon blueprint via "ember generate <addon-name>" if necessary. ``` This comes from [here](https://gi
Ready for PR
Refactoring
ember-cli: Config is encoded to meta tag with deprecated `escape` method
The relevant line is here in [lib/broccoli/ember-app.js](https://github.com/ember-cli/ember-cli/blob/bdf9aa0afacd8243180e4a0c14351d7072d0a62d/lib/broccoli/ember-app.js#L1757). Calling `decodeURIComponent` on this config string can fail if UTF-8 characters are used. The `encodeURIComponent` method should be used instead. I will gladly PR a fix but wanted to open an issue first as this is a break
Ready for PR
ember-cli: Fix up test issues
Various Test issues that we've noticed - `retries: 2` can cause the wrong assertions to be displayed, eg it breaks caching (like warn first time kinds of assertions) - yuidoc run and parsed at test-eval time instead of `beforeEach`; this slows down tdd for other tests by several seconds cc @rwjblue
Needs Tests
Ready for PR
ember-cli: Test Coverage Mega Thread
There are some areas that are missing test coverage. This will track any we find. This is a perfect place for new contributors to start understanding the code. Link pull requests next to its check mark. - [ ] We could use an "acceptance/addon-test.js" file, similar to ["acceptance/new-test.js"](https://github.com/ember-cli/ember-cli/blob/master/tests%2Facceptance%2Fnew-test.js) - [x] #5488 We need
Enhancement
Ready for PR
ember-cli: Generate integration test by default for helper blueprint
As per the conversation [here](https://github.com/emberjs/ember.js/issues/11867), convert the helper-test blueprint to generate an integration test by default (like the [component blueprint](https://github.com/ember-cli/ember-cli/pull/4272)).
1.x
bug
vue: Recusive Local Components - Uncaught RangeError: Maximum call stack size exceeded
<!-- 中文用户请注意: 1. issue 只接受带重现的 bug 报告,请不要用来提问题!不符合要求的 issue 会被直接关闭。 2. 请尽量用英文描述你的 issue,这样能够让尽可能多的人帮到你。 Got a question? =============== The issue list of this repo is **exclusively** for bug reports and feature requests. For simple questions, please use the following resources: - Read the docs: https://vuejs.org/guide/ - Watch video tutorials: https://laracasts.com/series/learning-vu
1.x
feature request
in progress
vue: Feature Request: Better warning message when a dynamic component is a fragment instance
When using `<component :is>` syntax, the fragment instance warning message `Attribute 'something' is ignored on component '<component>' because the component is a fragment instance` is confusing if I have multiple dynamic components in my app. I don't know which component it is coming from. Maybe the compileRoot method can check whether the tagName is 'component' and if so, use `options.name` in t
DOM
plugin
fela: [fela-plugin-layout-debugger] Use styles-debugger package
We should use the [styles-debugger](https://github.com/kitze/styles-debugger) module for advanced layout debugging.
Documentation
Documentation
ember.js: Include resolve type in API documentation for Promise return types
The API documentation for functions that use promises list `Promise` as the return type for the function (e.g. documentation for [DS.Store.findAll](https://emberjs.com/api/data/classes/DS.Store.html#method_findAll)). While _technically_ correct, this is nearly useless from a documentation perspective, since it doesn't tell you what type the promise resolves to. This becomes more noticeable whe
actionnable
in progress
yo: Updates for Tutorial(codelab)
Thanks for the easy-to-follow tutorial! A few minor discrepancies between the tutorial and actual response for update (totally not urgent, these did not prevent any functionality -- just wanted to help keep things current): On http://yeoman.io/codelab/scaffold-app.html the following options in the CLI are missing from the tutorial page: "Which Continuous Integration platform do you want? (Pre
React
async-reactor: React Native support
This is just informative "issue" with React Native examples and instructions that can be used in documentation/readme later. If you are new to React Native, first follow this guideline from Facebook https://facebook.github.io/react-native/docs/getting-started.html After installing React Native and all necessary SDKs, cd to directory you want to place your project and start new project (we wi
Android
Community Responsibility
react-native: onLongPress (and delayLongPress) triggers immediately
For some reason (I have no clue why) `onLongPress` triggers immediately, and onPress doesn't. tested on : android simulator with genymotion (galaxy5) and real galaxy3 device After adding `delayLongPress` i figured out that it's "stealing" 1000ms from the delay, and I guess the default delay is 1000, so it's triggering immediately. for example : ``` javascript <TouchableOpacity
Android
react-native: <Modal /> doesn't handle screen sizes and orientations properly
So today I was trying to refactor my code to migrate from a custom imperative `Modal` API to React Native's `<Modal />` and found some issues which made me write my own component in JS instead. - [x] Modal's height doesn't include the statusbar, so when the app has a translucent statusbar, Modal is drawn under the statusbar and there's empty space left at the bottom - [x] Modal is not responsive
Android
Windows
react-native: [Android] Copy button in the redbox should also support Windows and Linux platforms
This is not a bug report but **Help Wanted**! I have added a new feature of adding copy button in the redbox for RN Android, which copies the error message and stack trace to the host (your laptop's) clipboard. Please see [Add Copy and Dismiss Button in RN Android Red Box](https://github.com/facebook/react-native/commit/dc3fce06ea6db48285d31d8d00889c942d4b8aee) and have a try on it! However it's
Android
Feature Request
react-native: Hope to add attribute ( keyboardType = numberSigned) to TextInput of android
In android,we can only choose keyboardType from 'default, numeric, email-address'. But when use the 'numeric' , react-native can't distinguish between integer and decimal ,but native android can. I hope you can modify this method -- setKeyboardType of ReactTextInputManager. Thanks! * Platform: [ Android] * Operating System: [ MacOS]
builds
preact: Adopt a more strict ESLint config
Like ` airbnb` 's `javascript` specification, which makes code easier to maintain
documentation
preact: Use of onInput in docs
https://preactjs.com/guide/linked-state#linked-state-to-the-rescue `onInput` is used to update state, but https://facebook.github.io/react/docs/forms.html recommends avoiding `onInput` and using `onChange` instead. Might be worth changing to `onChange` or adding a note to explain why `onInput` should be used despite React's advice.
discussion
enhancement
preact: test runner transformation
Another idea that lends itself well to Preact's vnode abstraction is a super easy way to create frontend integration tests. You could have something like this: **index.js:** ``` js const App = module.exports = (props) => { <div class="App"> <button class="login" onClick={onClick}>Click Me!</button> </div> } ``` **test.js:** ``` js // This would walk the vnodes, and build a selector l
Android
react-native: [TextInput] Get keydown event to handle "Enter"
Hello. I tried to catch keydown/keypress events for several hours with no luck. I can get whole .text string (onChange={}) but what if I need to do an action when "Enter/Backspace" are pressed? Is there any solution how to know which keyboard character was just pressed in TextInput keyboard? Thank you.
documentation
preact-compat: Missing documentation for browserify config
The readme instructions right now are missing for browserify. There's a section: https://github.com/developit/preact-compat#usage-with-browserify but it yada-yadas over huge sections. 1. How do you order your Browserify transforms? You need to babelify it first so aliasify can parse the code, but you have to aliasify it first so browserify doesn't complain about missing packages 2. You can install
Android
react-native: Setting styleAttr to "Inverse" in ProgressBarAndroid does not actually invert anything.
I have used ProgressBar and applied **styleAttr ="Inverse"**, but it still animating in clockwise direction just like its normal prgress does. I think it's animating behavior should be anticlockwise. Kindly check it or guide me if I have done something wrong.
enhancement
async-reactor: Add examples
Basic async-reactor example for: - [x] React - [ ] Preact - [ ] Inferno and: - [ ] How to handle failures in component
JS
react-native: Exponentiation operator inconstancy w/o remote debugger
### Description the exponentiation operator is functional with the remote debugger. Chrome understands the ** expression, but when the execution is done inside the app an uncatched error occurs: "Unhandled JS Exception: SyntaxError" ### Reproduction ``` render() { return ( <View> <Text>{3 ** 3}</Text> </View> ); ``` A) With "JS remote debugging" 27 is
iOS
react-native: Version 0.40.0 gives 12 issues in xcode
Straight from init a new project and opening it with Xcode and running it in the iOS simulator I get 12 issues in Xcode, and this is without changing any code. Did not get any issues with version 0.39.0 <img width="1512" alt="skarmavbild 2017-01-05 kl 17 28 22" src="https://cloud.githubusercontent.com/assets/1423040/21688297/8e7c8c54-d36c-11e6-8858-171af0312949.png"> –––––––––––––––––––––
JS
react-native: FormData L74 typeof value === 'object' allows null
### Description While using the FormData API I hit an ambiguous and frustrating error. The error was a type exception cannot read 'name' of null. After some digging I found that it was caused by one of JS's more annoying "features". That a plain null is considered an object in context to typeof. Here is the line number of the typeof https://github.com/facebook/react-native/blob/9ee815f6b5
JS
react-native: Bug running Jest with ScrollView dependant components
### Description When running `npm run test`, the default tests `index.ios.js` and `index.android.js` fail due to the following error: ``` TypeError: _this._scrollView.scrollTo is not a function at TabViewPagerScroll._this._scrollTo (node_modules/react-native-tab-view/src/TabViewPagerScroll.js:68:19) at TabViewPagerScroll.componentDidMount (node_modules/react-native-tab-v
feedback needed
preact-compat: Server side rendering issues [aliases not working]
Hello! Thanks again for making such an amazing little framework. preact-compat has been a dream to work with, and I'm excited to integrate. I've just run into one little issue, that I hope isn't a blocker, because the performance gains are tremendous! 🔥 I'll add as much code as possible, if it's relevant, note that our application runs fine in the browser, where this code isn't executed. S
Website
docs
babel.github.io: Create core-packages pages
Babel's core packages: * [x] babel-core * [x] babylon * [ ] babel-traverse * [ ] babel-generator * [x] babel-types (#1009) * [x] babel-register (#1026) * [x] babel-template (#1026) * [x] babel-helpers (#1026) * [x] babel-code-frame (#1026) * [x] Index page All packages might not need a page on the website. Documentations will be prefixed with `/docs/core-packages/`. See #997 f
babel.github.io: Make sure each plugin has an example
cc @existentialism everything in https://github.com/babel/babel.github.io/tree/master/docs/plugins ``` {% include package_readme.html %} ``` links to the readme in https://github.com/babel/babel/tree/master/packages such as https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-es2015-arrow-functions Meaning make sure it has some kind of `in/out` example code + m
babel.github.io: Change favicon for Babel
Currently `6to5` is still the favicon: ![screenshot from 2017-04-13 19-02-51](https://cloud.githubusercontent.com/assets/1493671/25015383/d9a5d756-207b-11e7-92ae-23f83a329ad4.png) Would be good to switch to a more 'Babel' favicon. Logo for Babel is [here](https://github.com/babel/logo).

Want to be informed of new projects or see your project here?