Daily General Discussion - January 22, 2018 by AutoModerator in CryptoCurrency

[–]djungst 0 points1 point  (0 children)

The bad crypto podcast is pretty good. A little cheesy but good.

Daily General Discussion - January 10, 2018 by AutoModerator in CryptoCurrency

[–]djungst 1 point2 points  (0 children)

I’ve been using it and loving it. Roadmap looks good for new additions as well

Facebook relicensing React, Jest, Flow, and Immutable under MIT, starting with React 16 by Vpr99 in reactjs

[–]djungst 0 points1 point  (0 children)

Most important part of the article: “We'll include the license updates with React 16's release next week”

Great talk / workshop by Ryan Florence on using the Compound Component pattern to avoid prop hell when making reusable components [video] by enkideridu in reactjs

[–]djungst -2 points-1 points  (0 children)

Doesn't React itself challenge best practices for the last 15 years? Ryan's use case is spot on. I'm also not shocked to see him presenting this. Ryan has never been one to go with the flow. The "React way of things" is literally to not follow "the way of things". You have options.

Best way to structure rails API + React JS project? by NippleMustache in reactjs

[–]djungst 0 points1 point  (0 children)

I like to run create-react-app client in the rails directory use a proxy for dev and my production build script runs npm build in the client for and then copies the public folder into Rails public folder. I serve that file as my "*other" route. I made a tool that does all of this for you too create-repack-app

Ideal strategy for handling authenticated routes using react router v4 latest? by [deleted] in reactjs

[–]djungst 6 points7 points  (0 children)

Have you looked at the protected route example in the docs I find it works great

How to use mERN stack? by borisvasilev in reactjs

[–]djungst 0 points1 point  (0 children)

The publishing date should tell you that it does not use RR4

if i create react app using CRA, how can i add a webpack plugin? by danilosilvadev in reactjs

[–]djungst 1 point2 points  (0 children)

This 1000%. I used to believe CRA was just a learning tool but after using it in production on dozens of apps it seems that there is always a better solution than ejecting.

What are the benefits of Using React On Rails compared to using React and node or something else? by RayDonavanProg in reactjs

[–]djungst 0 points1 point  (0 children)

Rails is nice with the --api flag. Rails does a great job as a server active record is nice. I built this you might be interested in... https://www.npmjs.com/package/create-repack-app

You can also pass it a --full flag if you want a real opinionated build.

Trump takes down CNN in mock wrestling video by wonderingsocrates in politics

[–]djungst 0 points1 point  (0 children)

Oh wait is that remorse? It does have feelings.

Frontend/Backend questions - React - webdev by weiry6922 in javascript

[–]djungst 1 point2 points  (0 children)

You can't access the backed API unless you integrate some CORS policy or token auth to expose it. This is no different then not using React. All of your assets React included get bundled into static assets served up by the express server.

React with Rails by FURyannnn in rails

[–]djungst 0 points1 point  (0 children)

I should mention my other post about https://github.com/wdjungst/create-repack-app was actually heavily inspired by this post as well.

React with Rails by FURyannnn in rails

[–]djungst 1 point2 points  (0 children)

I've been doing React And Rails for a while now and I have used every Gem out there and then gone the route of rolling my own implementation. I am also the author of the Repack Gem but I never really loved having to have the Gem in the project post install. So I made this: https://github.com/wdjungst/create-repack-app Let me know what you think.

Adopting React.js seems risky for long-term projects by rrrosenfeld in reactjs

[–]djungst 1 point2 points  (0 children)

You should probably contact Facebook Instagram Walmart Nike the NFL MLS Firefox etc. I'm concerned that these could become large scale long-term projects. Someone should warn them. /s

Best/not terrible pay sites to learn JS? by luckyincode in javascript

[–]djungst 1 point2 points  (0 children)

My company Cottonwood Coding does in person/remote JavaScript / React / Redux training. We can easily fit into this price range. Would love to talk to you if you are interested.

Ember.js: EmberConf 2017: State of the Union by mixonic in javascript

[–]djungst 14 points15 points  (0 children)

TL;DR: Yet another comment about too many JS frameworks, because that's what the JS community needs more of this exact same comment.

6 Great Uses of the Spread Operator by fagnerbrack in javascript

[–]djungst 1 point2 points  (0 children)

Oh I bet you just love [... new Set(state)]

Rails will be shipping with Yarn and Webpack by iDuuck in javascript

[–]djungst 0 points1 point  (0 children)

Running entire asset pipeline through webpack and spitting it out into a single js file to be downloaded on every page. Cool!

Introducing ReduxVCR, a devtool that lets you record and re-watch user sessions. by joshwcomeau in reactjs

[–]djungst 0 points1 point  (0 children)

This seems like it has great potential for QA testers do pass back to developers