Ingvar Stepanyan

Results 1089 comments of Ingvar Stepanyan

> what I'd like to be able to do with jsx is this : > > ``` javascript > {this.state.list.map((item, key) => )} > ``` Well, you can do it...

You probably didn't enable ES6 transformation in your transpiler.

Tough question. If React would start supporting `{foo}`, `{foo, bar}`, then it would be logical to support `{foo: 1}`, `{foo: 1, bar: function () {}}` as well and finally we...

> Right now the spec is that JSXSpreadAttribute is the first attribute and is of the form { ... AssignmentExpression }. It's not necessarily the first.

> Should we also allow single quotes '? Are they JS strings or HTML strings? Is it weird that " and ' use different formats/escape characters? They are supported in...

@sebmarkbage Oh, you're right about object literals, sorry.

> I'm surprised that some very low level system library in the Rust toolchain doesn't just busy wait if it detects that it's on the main thread All those libs...

At this point, it makes me wonder if it could be a post-link feature in wasm-ld or wasm-opt where it would rewrite all `atomics.wait` to such conditional busy-loop automatically regardless...

> An example I ran into the other data: [the Rust pattern of parallel iterators](https://github.com/rayon-rs/rayon). Basically if your code read-only iterates over a bunch of data the iterations can be...

> Made a PR to Rayon meanwhile, I hope at least this usecase will be simplified if it's accepted: [rayon-rs/rayon#1110](https://github.com/rayon-rs/rayon/pull/1110) This is now released in Rayon and available via wasm-bindgen-rayon...