Shadaj Laddad

Results 57 comments of Shadaj Laddad

I'm not running the server locally, the error is occurring on the hosted server. For example, http://www.scala-js-fiddle.com/gist/9443f8e0ecc68d1058ad/RayTracer.scala does not compile.

Not at my laptop, so a shorter comment for now. I'm surprised that you are seeing AnyRefs. Size/USize are handled specially by the compiler to be treated as primitives at...

Note to self, this is documented at https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react/index.d.ts#L543

This is going to be a breaking change, so unfortunately we may have to wait until v0.8.0.

This looks like a bug with the macro annotation, for now the ComponentWrapper style should work though!

Looks great overall! Just one API design possibility to ponder.

@jedahu I think we can merge this PR and then generalize the support later; could you add a quick note to the changelog and docs explaining this feature?

@Taig thanks for the bug report! Do you see the same issue if you use the classic `ComponentWrapper` style? I ask because the compile error seems to be an issue...

The remaining two features are generally pretty incompatible with Scala (typing) / Scala.js (dynamic imports), so going to close this issue for now.

@evbo you should be able to resolve this by requiring typeclass instances at the `NeedTyping` level, so your definition would become something like: `class NeedTyping[T