Also, what is the difference between the js-extern...
# react
c
Also, what is the difference between the js-externals repo and the kotlin-wrappers repo? They both have ways to use React and i'm not clear which one is supposed to be used for which use case
a
kotlin-wrappers is obsolete, js-externals is not ready yet 😃
Jokes aside, the plan is to grow js-externals and supersede kotlin-wrappers
👌 1
☝️ 1
c
Oh wow, that's good to know!
Just to follow up on this now that I've thought about it a bit: I've seen that recently there's been quite a bit of new material published to the wrappers repo around css and styled components. Will things like that be migrated to the JS-externals library at some point?
And will the JS-externals library only include major version releases of libraries or will it be updated along with its js counterpart? For example, will react support be limited to 15, 16, etc or will it be updated to include incremental changes like 16.1, 16.2, 16.3 etc
a
Ultimately it will be whatever there is demand for. Tell us which declarations you need. We are listening.
👍 1
@bashor should know more about kotlin-wrappers and relevant plans
n
I hope it will be never deprecated. It has nice DSL
a
Like @bashor said, my statement was incorrect. Only the declarations will be merged. The DSL are probably going to stay in kotlin-wrappers.
👌 1
l
Yeah, so it’s basically like this: there’s a team inside JetBrains that uses Kotlin/JS heavily to develop an app. We try to extract the useful bits of our internal framework into
kotlin-wrappers
. There’s no intention to deprecate it, quite the contrary.
👍 3
c
Sweet! I got hyped seeing the CSS and Styled Component pieces go up a few days ago. I saw the comment saying they weren’t quite ready to be used yet but I’d love to experiment with them. Can you say much at this point about what still needs to be done to get those ready to use, even if in an experimental way?
or do y’all have an example of how they can be used?
l
I hope I’ll be able to write some documentation in the next few days.
c
and also, one more obnoxious question, can you/will you be able to use the CSS library on its own or will you need to use it along with the Styled COmponents stuff?
awesome, thanks!
l
kotlin-css can be used independently from kotlin-styled
It can even be used on the server
👍 1
c
oh interesting.
i’ll spend some time digging into it today. wish there was something i could do to help out with it.