Comments (11)
from sri.
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.
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.
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.
from sri.
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.
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.
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.
guys: what is your time frame for transition to https://github.com/scalajs-react-universe?
from sri.
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.
great. probably would make sense to publish an S.R.U. "road map" on the org site?
from sri.
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)
- TimeoutError on building mobile example HOT 2
- Compatibility problem with React Native 0.26 HOT 4
- update to react-native 0.27 HOT 2
- move relay to different repo! HOT 1
- Eliminate getTypedConstructor boilerplate HOT 1
- Runtime error on assign a value to an input in a component HOT 4
- How to use custom component inside other HOT 6
- project name space HOT 5
- prepare for 0.6.0 release HOT 1
- Scalafmt HOT 1
- rework on DOM(html,svg) tags HOT 18
- rework on third party components HOT 3
- rework on Web Inline Styles HOT 1
- sri.core.InternalReactComponent needs to be imported from module 'react' HOT 3
- How to use sri 0.7 mobile with react-native-web? HOT 4
- Using a third party component HOT 5
- remove sComponentX overrides from RectComponent HOT 4
- Modal component crashes on IOS 10.2 (iPhone 5)
- react-native-windows? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sri.