Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for scalajs-react 1.2.0 #99

Open
bijancn opened this issue Mar 12, 2018 · 1 comment
Open

Add support for scalajs-react 1.2.0 #99

bijancn opened this issue Mar 12, 2018 · 1 comment

Comments

@bijancn
Copy link

bijancn commented Mar 12, 2018

When I try to compile, I get linker errors like this

[error] Referring to non-existent method japgolly.scalajs.react.component.Js$.apply(scala.scalajs.js.Any,japgolly.scalajs.react.CtorType$Summoner)japgolly.scalajs.react.component.JsBaseComponentTemplate$ComponentWithRoot
[error]   called from chandu0101.scalajs.react.components.elementalui.Table.apply(scala.collection.Seq)japgolly.scalajs.react.component.Js$UnmountedWithRoot

by using

import chandu0101.scalajs.react.components.elementalui._
        Table()(),

I am not sure why apply methods of components don't work anymore. Here are the release notes https://github.com/japgolly/scalajs-react/blob/97de7d9083f2e793c456866f60d42dd3cd483e21/doc/changelog/1.2.0.md

@rleibman
Copy link
Collaborator

Have you tried compiling it for 1.2.0? I can work on this. I think the first thing I find is that ReactElement was renamed to React.Element

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants