Giter Club home page Giter Club logo

Comments (11)

dispalt avatar dispalt commented on June 19, 2024 1

from sri.

dispalt avatar dispalt commented on June 19, 2024

I like it alot. I've been converting my third party components over to that method independently, with 0.6.14 and 2.12 it's much nicer now, so I am huge +1 on that. For dom tags I actually copied @japgolly's approach and did https://github.com/dispalt/sri-vdom which I personally like; however, there are drawbacks as it doesn't give a ton of guarantees but suits my approach well.

Lack of macros will also speed up compile-time.

For 3rd party components, the 2nd con, you can use js.defined(f => foo) and it will handle the implicits, which again is nice.

from sri.

chandu0101 avatar chandu0101 commented on June 19, 2024

with 0.6.14 and 2.12 it's much nicer now

can you elaborate what 2.12 offers more for @ScalaJSDefined trait ..

For dom tags I actually copied @japgolly's approach and did https://github.com/dispalt/sri-vdom which I personally like; however, there are drawbacks as it doesn't give a ton of guarantees but suits my approach well.

👍 , actually my plan is to web module just contains ReactDOM facade and helpers and provide vdom in separate project https://github.com/chandu0101/sri-web-vdom ,so that users can come with different flavors of vdom which fits their taste buds/needs(server-rendering).Your use case is one classic example so lets do that.

For 3rd party components, the 2nd con, you can use js.defined(f => foo) and it will handle the implicits, which again is nice.

cool , thanks for the tip I'll update cons section :)

from sri.

dispalt avatar dispalt commented on June 19, 2024

from sri.

chandu0101 avatar chandu0101 commented on June 19, 2024

0.6.14 refers to SAM methods and leaving off type ascriptions.

we can hack around that by defining as vars! which will work fine 2.11/2.10.

from sri.

nafg avatar nafg commented on June 19, 2024

I don't see a good reason to combine renaming the artifacts with breaking changes. Even if you want to do them simultaneously the changes should have their own ticket. It will affect a lot of users and they might not find the discussion.

I object to at least some of them but it seems difficult to discuss on a ticket about something else.

from sri.

chandu0101 avatar chandu0101 commented on June 19, 2024

I object to at least some of them but it seems difficult to discuss on a ticket about something else.

fair enough , i'll create tickets for dom tags & third party & webstyles ,lets keep this for organization stuff.

from sri.

Andrei-Pozolotin avatar Andrei-Pozolotin commented on June 19, 2024

guys: what is your time frame for transition to https://github.com/scalajs-react-universe?

from sri.

chandu0101 avatar chandu0101 commented on June 19, 2024

once scala-js 0.6.15 released , I'll push first beta in couple of days.

Sjrd : Wait for 0.6.15
Andrea Peruffo @andreaTP Feb 26 19:26
sjrd ok, thanks!  any eta?
Sébastien Doeraene sjrd Feb 26 20:20
2-3 weeks, I would say

from sri.

Andrei-Pozolotin avatar Andrei-Pozolotin commented on June 19, 2024

great. probably would make sense to publish an S.R.U. "road map" on the org site?

from sri.

chandu0101 avatar chandu0101 commented on June 19, 2024

i created a ticket for this : https://github.com/scalajs-react-universe/support/issues/1 , lets use this until we release first beta,after that we'll discuss with community and create a detailed road map :)

from sri.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.