-
Notifications
You must be signed in to change notification settings - Fork 10
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
Update to sjs-dom 2.0.0 #23
Conversation
build.sbt
Outdated
@@ -125,7 +125,8 @@ lazy val dom = project | |||
"co.fs2" %%% "fs2-core" % fs2Version, | |||
"org.http4s" %%% "http4s-client" % http4sVersion, | |||
"org.scala-js" %%% "scalajs-dom" % scalaJSDomVersion | |||
) | |||
), | |||
dependencyOverrides += "org.scala-js" %%% "scalajs-dom" % scalaJSDomVersion |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Workaround pending typelevel/fs2#2681.
typelevel/fs2#2681 really shot us in the foot ... |
import org.scalajs.dom.experimental.ResponseInit | ||
import org.scalajs.dom.experimental.serviceworkers.FetchEvent | ||
import org.scalajs.dom.experimental.serviceworkers.ServiceWorkerGlobalScope | ||
import org.scalajs.dom.experimental.{Response => DomResponse} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why were they renamed upstream? Were they experimental
on the scala.js side or were they experimental originally on the dom side?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They were experimental in DOM. But in general, in SJS-dom we decided to "de-namespace": almost everything is inside the dom.*
package now. See this for details.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks for doing this update
Thanks! But this is badly broken until typelevel/fs2#2681 is fixed. I mostly opened this to check that the sjs-dom RC is working ok. We still need to decide what our branching strategy is going to be. |
Superseded by #28. |
No description provided.