Earlier quoted context omitted.
I thought Relay already had client side state? Also what's Relay 2? Where are you finding information about it? My opinion of Relay right now is that it has way too many needless complications. It looks like it brought a ton of baggage from being used in Facebook that just gets in the way of general use. So I'm interested in an alternative. However, the real problem with all of this stuff is cache management. Properl…
By client-side state, I mean user interactions that affect variables used across the app that don't need to be persisted. Relay doesn't do that yet, as it only deals with persisted data. @josephsavona[1] and @wincent[2] are the guys putting information out about Relay 2. Greg Hurrell (@wincent) did a talk[3] about it in August. And since I'm linking to related resources, I just want to add a plug for an awesome proje…
The State of JavaScript – Survey results
261–270 of 357 posts
Re: The State of JavaScript – Survey results
#262I've been using it since well before v1.0 and can understand peoples frustration around it. A lot of patterns and core themes have come and gone. Allow/deny, blaze, and now it is sounding more and more like mini-mongo might go the way of Blaze in lieu of Apollo.
Like I said though, I really do hope that the core values of Meteor stick around in the framework and it continues to grow. I love it :)
Re: The State of JavaScript – Survey results
#263Earlier quoted context omitted.
> There is an interesting amount of energy put into making asynchronous code read synchronously in situations where asynchronous code provides no benefit. I see many new / intermediate people trying to do this. They want to make everything asynchronous when it does make sense to. You want asynchronous when you're accessing an external resources or for something low running (in which case yields / multiple asynchronou…
> Semantic versioning has been around for quite some time. I used it when I did Java and C# development; is it really that weird? Is there something about it that's weird? I'm talking about the various schisms that have led to this page: https://nodejs.org/en/download/releases/ It's not a big deal once you familiarize yourself with what everything means, it's just a good example of some ecosystem baggage. The ubiquit…
Re: The State of JavaScript – Survey results
#264Earlier quoted context omitted.
> Considering we're encouraging everyone to use transpilers and features from the future Please don't encourage this. Transpilers have a huge set of dependencies and technical complexity. I know everyone is in a hurry to use the next standard ASAP but, especially for new people, I think transpilers should be recommended against. Otherwise now you now need a build process and you need to learn how to use map files to…
It's a good point, they are complex. But on a team doing a complex spa, you'd need someone who's a tooling expert right?
I would argue no. Granted not everyone needs to be an expert on the tool chain and this ends up happening probably a majority of the time anyway but if most are ignorant how the tool chain works I don't think that's a good position to be in either. When a bug / misconfiguration issue rears its ugly head you need more than a few people being able to debug it. But even outside of that I think it's incredibly helpful for the developer to fully understand how something is going to be built and deployed.
Re: The State of JavaScript – Survey results
#265Earlier quoted context omitted.
I'm curious: how do you think about client vs server side rendering? What happens where?
For apps which need it, everything generally happens in both places. The server-side render fetches all the appropriate data and displays a fully rendered version of the page. That being said, I think you should carefully consider whether server-side rendering is necessary for your application before adding it. It does complicate your stack and is not worth it unless either first-load performance or SEO are important…
Re: The State of JavaScript – Survey results
#266Earlier quoted context omitted.
For apps which need it, everything generally happens in both places. The server-side render fetches all the appropriate data and displays a fully rendered version of the page. That being said, I think you should carefully consider whether server-side rendering is necessary for your application before adding it. It does complicate your stack and is not worth it unless either first-load performance or SEO are important…
Thanks! Are you using the Django template language on the server or using React somehow?
Re: The State of JavaScript – Survey results
#267Earlier quoted context omitted.
I'm really interested in what you're saying about UIs as state machines. Do you have any articles/references to back this up? Genuine curiousity here.
I second that. My experience shows it is a state machine, but I have not see any formal study of it.
Re: The State of JavaScript – Survey results
#268I wish to register my complaint with the term "ES6" which has always been unofficial and refers to the official standard "EMCAScript2015".
Same. ECMA changed to using dates a while ago and people are still saying "ES6" and "ES7". I've also seen people refer to all new syntax and features as "ES6" including things that in ECMAScript2017. Honestly though I think ECMA has some of the blame for this. I don't think they do a very good job communicating changes and versioning.
Re: The State of JavaScript – Survey results
#269Anyone feel like piping in why Aurelia? It pops out in the data, but unknown is satisfaction, etc.
I also wrote my first SPA in Aurelia this year. As an introduction to the Javascript world, it has been pretty good (though I would never use JSPM again). Bugs are fixed in a timely fashion, the developers are responsive, and overall my developer experience has been positive.
Re: The State of JavaScript – Survey results
#270I'd love to hear more from people that expressed certain viewpoints - specifically those who used a library but wouldn't use it again... Specifically mobx :) I've played with most popular js libs now and I've found that for my use case I wasn't totally happy for one reason or another. I've been dabbling in mobx for that last few weeks and the ease with which it has allowed me resolve issues in my codebase is really p…
I love mobx (definitely not one of the 58), but I would use redux on large apps (maybe, more than 15 pages?), especially if you don't care too much about performance. Redux has better debugging, forces more structure to the code, has a immutable data story, and there are more resources on the net if you need to bring developers up to speed. There are some configuration options for MobX that force the user to be more…
Any specific issues with Redux performance that you've noticed?
[0]: https://github.com/markerikson/react-redux-links
[1]: https://github.com/markerikson/react-redux-links/blob/master...
[2]: https://github.com/mweststrate/redux-todomvc/pull/1