slinky
slinky copied to clipboard
Write Scala.js React apps just like you would in ES6
Updates * [org.scala-js:sbt-scalajs](https://github.com/scala-js/scala-js) * [org.scala-js:scalajs-compiler](https://github.com/scala-js/scala-js) * [org.scala-js:scalajs-library](https://github.com/scala-js/scala-js) * [org.scala-js:scalajs-library_2.13](https://github.com/scala-js/scala-js) * [org.scala-js:scalajs-test-bridge](https://github.com/scala-js/scala-js) * [org.scala-js:scalajs-test-bridge_2.13](https://github.com/scala-js/scala-js) from 1.6.0 to 1.10.1. [GitHub Release Notes](https://github.com/scala-js/scala-js/releases/tag/v1.10.1) - [Version Diff](https://github.com/scala-js/scala-js/compare/v1.6.0...v1.10.1) I'll automatically update this PR to resolve...
I'm just dipping my toes into Scala(js) and I'm interested in using slinky since I have an existing large react-native app and Typescript is torturous to write and maintain. It...
Updates [org.scalameta:sbt-scalafmt](https://github.com/scalameta/sbt-scalafmt) from 2.4.5 to 2.4.6. [GitHub Release Notes](https://github.com/scalameta/sbt-scalafmt/releases/tag/v2.4.6) - [Version Diff](https://github.com/scalameta/sbt-scalafmt/compare/v2.4.5...v2.4.6) I'll automatically update this PR to resolve conflicts as long as you don't change it yourself. If you'd...
Given the following working code: ```scala import scala.scalajs.js import scala.scalajs.js.annotation.JSImport import scala.scalajs.js.{|, undefined, UndefOr} import slinky.core.{ExternalComponentWithAttributes, TagMod} import slinky.core.annotations.react import slinky.web.html._ @react object Autocomplete extends ExternalComponentWithAttributes[*.tag.type] { @JSImport("@material-ui/lab/Autocomplete", JSImport.Default) @js.native...
+ [x] `React.memo` (more generally, explore functional component support?) + [ ] `React.lazy` (deferred indefinitely, does this have meaning in Scala.js where bundle splitting does not exist?) + [ ]...
When I run `fastLinkJS`, I see the refreshing banner appear, but no change is picked up in the UI. I am using slinky `0.7.0` along with react native `0.66.4`.
Hi, some very reputable JS libraries rely on forwardRef being able to take an optional ref, for instance here: https://react-table.tanstack.com/docs/examples/row-selection So is it possible to support `Option[ReactRef[_]]` types? The only...
There is a hidden optional 3rd argument to createPortal Slinky forgot to include: https://github.com/facebook/react/issues/12247#issuecomment-376840625 Totally undocumented and doesn't matter until you hit the edge case discussed in there :) Should...
It is not that clear how to use external JS React Hooks such as: [url-double-click](https://opensourcelibs.com/lib/use-double-click). It would be good to add documentation [here](https://slinky.dev/docs/functional-components-and-hooks/). In particular around how to pass Refs...
Originally reported by @gavares https://gitter.im/shadaj/slinky?at=5bdd414a538a1c1971672c2f