|
Skandranon posted:It may be possible to make more concise, but I've not had time to work on it (because React is the devil and I hates it). I have just started dipping my toes into React in my down time and I am kind of liking it after having been working with Angular for a year now. But my roots are in functional and not OO, so that may be why. What are the specific reasons you have for React being demonic?
|
# ¿ Jun 7, 2016 02:05 |
|
|
# ¿ May 17, 2024 02:29 |
|
Didn't twitter move completely away from rails? No big companies behind it means a loss of momentum and eventual death.
|
# ¿ Jun 11, 2016 20:58 |
|
Noam Chomsky posted:https://www.quora.com/Why-did-twitter-move-away-from-Ruby-on-Rails Yes, but most places that are hiring wont be picking it up nearly as much these days without a big name behind the tech. And that leads to less positions, less overall support and new developments, etc. Angular - Google, React - Facebook, Everything soul crushing enterprise places love - Microsoft. https://www.youtube.com/watch?v=a5dpBpaFiMo It's basically this, but the ending is different.
|
# ¿ Jun 12, 2016 02:02 |
|
Read that this morning and had the exact same thought.
|
# ¿ Oct 4, 2016 03:40 |
|
Lumpy posted:See what happens when you ask questions instead of assuming everything you don't understand is stupid and wrong-headed? The best is thinking it's stupid and wrong-headed, but then not saying anything because who cares and then cash your big paycheck and leave the company in a year.
|
# ¿ Dec 8, 2016 20:13 |
|
Vesi posted:any reason you're not using angular2 since this doesn't seem like a legacy project? Everything I've read about angular 2 sounds like a stability nightmare.
|
# ¿ Mar 10, 2017 15:53 |
|
MrMoo posted:Isn't that just JS frameworks in general? They don't exactly have a long shelf life. The only articles I had seen about Angular 2 were about breaking updates and the modules it depends upon not being stable either. Now I just don't see anything about it. So yes, business as usual for JS packages.
|
# ¿ Mar 10, 2017 16:53 |
|
Honest Thief posted:I need to improve my test methodologies, I know how to use test frameworks, like Karma for instance, but plainly I don't know how to even start unless someone forces me to just squirt out some tests to fill out their progress reports. I'm not the biggest fan of TDD due to mostly the community at times coming of as ideological and dogmatic, but I guess I can improve without having to buy into the whole thing. Maybe put in coverage requirements?
|
# ¿ Mar 29, 2017 11:57 |
|
Honest Thief posted:I got none, this is more in cases when, like it has happened before, a project manager requests for test coverage and just leaves it at that. So put in a build requirement that test coverage on all services must be above x or the build fails.
|
# ¿ Mar 29, 2017 12:07 |
|
Honest Thief posted:It's more about writing meaningful tests, something beyond render function and expect(component).toExist(). Most of the time I just feel lost when trying to come up with tests. Oh, well yeah.
|
# ¿ Mar 29, 2017 12:21 |
|
Helicity posted:http://artofunittesting.com/ A good book. Can also find videos of him giving talks about the book which are nice summaries of the main points.
|
# ¿ Mar 30, 2017 02:53 |
|
Are you all staying at positions that would even warrant this long term thinking? My last 2 years have been going from burning wreckage to burning wreckage. I feel like I'm in a season of walking dead seeing an idyllic place and watching it destroyed from within by idiots and then everyone dies or is scattered to the winds.
|
# ¿ Apr 2, 2017 00:39 |
|
a hot gujju bhabhi posted:I've got an issue with hover effects on the iPad. When the user touches the screen to scroll, it activates the hover state for the element that they've touched. Is there a way to change this behaviour? It looks ridiculous, and this is just one of MANY issues the iPad is giving us. Don't use hover effects?
|
# ¿ Apr 6, 2017 00:52 |
|
We almost had to develop exclusively on IE at Bank of America after an IT director saw a dev change a dollar amount using the dev console. He issued an order to force all devs to remove Chrome. There was obviously push back but I don't think he got called a retard which is unfortunate.
|
# ¿ Apr 19, 2017 15:13 |
|
ROFLburger posted:I don't get it. Could you not demonstrate to that person that you could do the exact same with with the IE dev tools? Or was this at a much earlier time This was about a year ago.
|
# ¿ Apr 20, 2017 01:19 |
|
Odette posted:Unfortunately (or fortunately? I'm not sure), there are still dozens of people that believe Microsoft under Nadella is just a fox in sheep's clothing, waiting to use the 3 E's again. You don't? Just take a look at the Windows 10 data they are collecting. They're still dirt nasty. Also what is this React Fiber?
|
# ¿ Apr 25, 2017 22:22 |
|
On top of that the worst devs I have worked with have all been Java devs so it could potentially be very easy to impress in that field.
|
# ¿ Jun 17, 2017 02:26 |
|
http://arepublixchickentendersubsonsale.com/ All you need is a question to get started.
|
# ¿ Jun 19, 2017 20:34 |
|
an skeleton posted:Anyone have any suggestions or good experiences with trying to share CSS/whatever your styling language is across multiple projects for consistency? We're a react shop if it matters. Make a general theme and style guide and documentation with examples and explanations of common components, very similar to Bootstrap. This gives people no excuse to not follow that common set of rules for components.
|
# ¿ Jun 20, 2017 00:49 |
|
prom candy posted:I know javascript, es6, es7, and coffeescript. Forgetting jQuery?
|
# ¿ Jun 21, 2017 05:16 |
|
Helicity posted:All 4 of my dev jobs have been through networking. Befriend 1-2 good recruiters and stay in touch, make friends with a handful of cool people at each job, go out to lunch with them at least once a year. Go to user groups/meetups and do the same. Then you hear about cool things from people. This isn't something you can see benefits from immediately, so it requires prep and patience. That's not incredibly useful to you right now, but I'd consider it for the long-term. And make sure you land in a city you want to be in because I'm going to move soon and lose all my connections and reputation soon! Can't wait to start over again! gently caress living in America!
|
# ¿ Jun 22, 2017 19:11 |
|
Thermopyle posted:Yes, but that's not what it seems like this person is saying... Yeah, I am mostly salty about having to live in the US still for other unrelated reasons. Maybe 'gently caress open offices!' or 'gently caress my inability to pass remote interviews!' would be more appropriate?
|
# ¿ Jun 22, 2017 22:25 |
|
Lumpy posted:The only thing I dislike about VIM is that now I simply can't use anything else because it feels sooooo sloooooowww to work in. And nobody has a VIM-mode plugin that actually does all the stuff that makes VIM so good. I've been tempted to start learning it. But I don't want to get a set of keys for a mechanical keyboard with all the vim shortcuts on them like my old coworker. What's a good cheat sheet?
|
# ¿ Jun 28, 2017 16:00 |
|
I only just discovered PWA and AMP via a code challenge for an interview and that is an excellent summary for something I still didn't fully grokk. Going to be interesting building a site ground up with it I think.
|
# ¿ Jul 13, 2017 15:01 |
|
I will be moving into a position where I am the only web dev at this company working with the backend consisting of the head programmer, making the web version of their already existing Android and iOS apps. Real rear end green field project, aside from the fact they want it in React. What is the wish list of things you would do given this situation for a React project?
|
# ¿ Jul 21, 2017 16:09 |
|
Reposting an old gem from my last job.Gildiss posted:Another gem in the ESLinting mines.
|
# ¿ Mar 8, 2018 16:32 |
|
Firebase?
|
# ¿ May 31, 2018 00:14 |
|
https://reactjs.org/docs/react-component.html#componentwillunmount Nm that was right, handle the cancelling of the request in here.
|
# ¿ Sep 7, 2018 16:39 |
|
Love Stole the Day posted:I could be wrong but if I remember right it is possible to manually create and cancel a promise before it is completed. Since it seems that your doRequest() function seems to return a promise (which I think is why you use `.then( () => { .. } )` ) maybe you can set its promise to a variable in the parent component and then manually cancel it from within the child component when it unmounts? Though in that case you'd have to change from an anonymous function to a named one: something like `fn_OnRequestReceived()` or whatever. Yes, this is the way I would go about it, set a state variable to hold the Promise and and in unmount cancel the request.
|
# ¿ Sep 8, 2018 02:57 |
|
The Dark Wind posted:Does anyone have recommendations for a grid system similar to Bootstrap in React? I know there's Reactstrap/React-bootstrap, but we'd like to avoid pulling in the entire library for just a fraction of the features. And we can't use CSS grid because we have to support IE9 (I know, I know...). I'm sure there are some good pre-existing solutions out there, was wondering if anyone had some good personal experiences with any library that they'd recommend. Ive been using react-md.
|
# ¿ Oct 29, 2018 23:39 |
|
Ape Fist posted:Lol. Try doing .net poo poo with it. Its probably ideal?
|
# ¿ Nov 6, 2018 00:18 |
|
Grump posted:Anyone work with Firebase? I'm wanted to work on a new pet project and wanted to use firebase. I work with Firebase. Depending on how much traffic you are expecting a server could be useful, but not necesary. Do be aware though, for querying data, you can index based on any fields you have, but can only query from Firebase on one field per query, then filter further from that response data locally.
|
# ¿ Jan 4, 2019 05:42 |
|
MrMoo posted:Basically, no. And in some cases "locally cached" can be worse than loading again over the network. If you want an image fast in memory then you need to manage that yourself. Aside of caching mechanisms the one tool available for performance is data urls, the trade off of additional round trips to transfer size. Can confirm service workers are uhhh a bit touchy. My current deployment has a service worker that now just unregisters service workers
|
# ¿ Jan 26, 2019 13:15 |
|
I still have not read a single thing about Hooks because they were announced 2 days after I just got done updating the two applications I develop to React 16. All I did was sigh and then become extremely tired.
|
# ¿ Feb 10, 2019 08:45 |
|
smackfu posted:Anyone have tips on working with static assets (like images) and CDNs and file naming? We recently had a designer say “oh that SVG we gave you that you deployed into production had a small layering bug, here is the new one.” We could just add a “b” or “v2” to the filename but maybe we should version them from the start? It’s our first time dealing with the CDN for this stuff so we are kind of winging it. From my own experience, we kept the files named the same, overwrote them on the storage, and then ran an invalidation on AWS Cloudfront for that specific file path. But that was also winging it.
|
# ¿ Mar 11, 2019 15:42 |
|
prom candy posted:I just posted in the other web dev thread about how I gave up and ran back to my mac I need a new laptop that I can put linux on but I want to do this too. My laptop doesnt reliably boot and doesn't see 5G wifi. Send help.
|
# ¿ Mar 23, 2019 02:20 |
|
Queen Victorian posted:Are there other D3 people here? Any D3/framework integration success stories? Am I right to be concerned or do I need to just suck it up and fully embrace the framework? On a cursory search there are plenty of articles laying out ways of going about using them together. Also one of them mentioned that only 8 of the 30 methods in D3 directly manipulate the DOM, the other 22 do not. So also check into exactly which methods need careful attention. Also probably good since he doesn't have D3 and the rest don't have React to both come together and setup the standard for the compenents going forward and not just give him free reign on something he only has 50% of an answer to. Gildiss fucked around with this message at 01:07 on Mar 27, 2019 |
# ¿ Mar 27, 2019 01:03 |
|
my bony fealty posted:JSX is weird but you definitely get used to it. I like it more as a templating solution than the directives that most other FE frameworks seem to use. Do you have a good starting guide for hooks? There are so goddamn many and I don't trust any of them due to that.
|
# ¿ Apr 3, 2019 00:19 |
|
prom candy posted:The official docs are good. Kent C. Dodds' video tutorial on egghead is good, I think you need an account but it should be free. I also haven't watched it yet but the other day Dan Abramov and MPJ did a livestream where Dan taught MPJ hooks from scratch: https://www.twitch.tv/videos/404530952?t=00h14m17s Started with the twitch last night and then jumped into the docs and prom candy posted:Hooks are so goddamn good I love them.
|
# ¿ Apr 4, 2019 15:18 |
|
|
# ¿ May 17, 2024 02:29 |
|
smackfu posted:Not super surprised. You can write a lot of React, including pretty complex apps, without running into refs. Especially if you just use other peoples packages to do the complex bits. Yeah I only used refs I think in one situation for an audio component. Had no idea about that height thing but it is cool after seeing it. But yeah I have never come across that information out in the wild so wouldn't have even considered it. Doesn't feel like as common knowledge as you think it is.
|
# ¿ May 12, 2019 14:33 |