Any one got good resources for learning react? I heard about wes bos but I'm not sure if it worth it to pay.
Any one got good resources for learning react? I heard about wes bos but I'm not sure if it worth it to pay.
This Udemy course is very good:
https://www.udemy.com/the-complete-react-web-app-developer-course/learn/v4/overview
You can find coupons for $10 Udemy courses, they're all over the place, and at the end of the year they always do a bunch of $2 or $3 courses.
But also check this post like 10 posts ago by Petrip
http://www.neogaf.com/forum/showpost.php?p=218305622&postcount=3782
In what context do you want to create a React application? I've found some decent tutorials for using it with .NET MVC. I've recently been working on integrating TypeScript with React as well.
hmm yea his ratings does look better than the one linked above.If you're looking to build web-apps and sites in React look for Stephen Grider's stuff on Udemy. Great instructor IMO.
Facebook is releasing Yarn, an NPM and bower compatible package manager with more determinism: https://code.facebook.com/posts/1840075619545360
Facebook is releasing Yarn, an NPM and bower compatible package manager with more determinism: https://code.facebook.com/posts/1840075619545360
It's not. You use it instead of npm and yarn uses the NPM servers if you want to.A package manager for a package manager. Sounds like web dev yes. :lol
I need help with JSLint.
I want to integrate it into more of my projects however, it seems to be too strict and leaves me with a bunch of errors ranging from a whole bunch of stuff -- most of it coming from preferred spacing, having too many characters in one line, etc. From what I can tell from the errors, it just seems to be syntax it doesn't prefer (eg a space fro curly brackets).
Is there a way to get around this or a good resource to learn more of these practices so I can write better Javascript?
{
"parser": "babel-eslint",
"extends": "airbnb",
"ecmaVersion": 6,
"parserOptions": {
"ecmaFeatures": {
"classes": true,
"jsx": true,
"experimentalObjectRestSpread": true
}
},
"env": {
"browser": true,
"node": true,
"commonjs": true,
"es6": true
},
"globals": {
"Modernizr": true,
"MediaElement": true
},
"rules": {
"max-len": [
"error",
120
],
"react/jsx-filename-extension": [
1,
{
"extensions": [
".js",
".jsx"
]
}
],
"react/prefer-es6-class": [
2,
"never"
],
"require-yield": 2,
"yield-star-spacing": [
2,
"after"
],
"no-underscore-dangle": 0,
"no-constant-condition": [
"error",
{
"checkLoops": false
}
]
},
"plugins": [
"class-property"
]
}
I need help with JSLint.
I want to integrate it into more of my projects however, it seems to be too strict and leaves me with a bunch of errors ranging from a whole bunch of stuff -- most of it coming from preferred spacing, having too many characters in one line, etc. From what I can tell from the errors, it just seems to be syntax it doesn't prefer (eg a space fro curly brackets).
Is there a way to get around this or a good resource to learn more of these practices so I can write better Javascript?
If you have eslint installed globally you can run eslint --fix to automatically fix a lot of warnings
hmm yea his ratings does look better than the one linked above.
Thanks for taking the time to look grmlin!
It was the cookie code being placed before the rest of the jQuery calls, so what was happening was the Cookie JS was getting the Google backup version of 1.7.1, I moved things around and it works now.
Thanks again for looking.
$foo::bar();
I've got a question not necessarily web dev.
Our current setup is that we have a Live and Development branch and the names speak for themselves. Generally the only changes we do to Live are bugfixes then we merge them to Development.
However we just had this scenario. We deployed a bug fix to Live which involved adding a static method call using dynamic class names:
Code:$foo::bar();
$foo is Foo class. We merged this change up to Development.
However, in Development, we were doing changes as well. Essentially we removed bar() and created new methods from it. Obviously usages of bar() was checked beforehand, but that's only in Development branch.
After the merge from Live to Development, we now have calls to bar() that no longer exist. There won't be any merge conflicts. Thankfully we caught this in Development by pure accident. If we had merged Development to Live, the bug would have went live.
What are your suggestions to avoid this scenario? It's not always possible to communicate which methods or class names are modified/removed between everyone. Regular PHP lints won't work because of dynamic class naming.
Ratings and based on my first hand experience taking his lessons he does a great job breaking down the method behind the madness when you're actually building the react we apps. It might be good to go in with a basic understanding of node though.
.test {
display: flex;
transform: translate(0, 0);
transition: 2s all;
column-rule: 1px solid #000000;
appearance: none;
background: linear-gradient(to bottom, white, black);
}
.test {
display: -ms-flexbox;
display: flex;
transform: translate(0, 0);
transition: 2s all;
-moz-column-rule: 1px solid #000000;
column-rule: 1px solid #000000;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background: linear-gradient(to bottom, white, black);
}
var gulp = require('gulp');
var postcss = require('gulp-postcss');
var autoprefixer = require('autoprefixer');
gulp.task('prefix', function () {
return gulp.src('style.css')
.pipe(postcss([ autoprefixer({ browsers: ['last 2 versions'] }) ]))
.pipe(gulp.dest('fixed'));
});
You must have had >1% on in the AutoPrefixer as I'm seeing the same output as your Gulp is producing on the online tool.
Started using google webfonts and other fonts, but they only seem correct in Chrome and not Firefox/Safari/IE or Edge. it's a minor thign but I notice it.
any tips?
Yeah, especially IE tends to look ugly with Roboto. Hopefully someone chimes in.
Here's a question for you (but it might be graphic design related) but here goes:
Social icons (like Twitter and Facebook etc) what do you with regards using these on your sites? I am well aware of the brand guidelines and (IMHO I stick to the default logos as provided) but there a couple of people in my company who think about using totally different ones to fit designs that are being done, for example changing it to black for example to fit in with a design.
Thoughts on that? For me it's a big no no, but I'm interested in getting other opinions as I can sometimes face an uphill battle push my view, despite saying, well how would you feel if someone used our logo in a totally different way?
Here's a question for you (but it might be graphic design related) but here goes:
Social icons (like Twitter and Facebook etc) what do you with regards using these on your sites? I am well aware of the brand guidelines and (IMHO I stick to the default logos as provided) but there a couple of people in my company who think about using totally different ones to fit designs that are being done, for example changing it to black for example to fit in with a design.
Thoughts on that? For me it's a big no no, but I'm interested in getting other opinions as I can sometimes face an uphill battle push my view, despite saying, well how would you feel if someone used our logo in a totally different way?
Flexbox in anything below edge can be pretty painful, yes. But it's manageable and still better than the alternatives.
Starting a new project soon. Going to leverage Angular 2, but I'm loking for a straightforward material UI framework.
Any suggestions?
I'm familiar with Angular Material, but 2.0 is still in alpha with lots of components missing. I'm currently leaning Materialize, but there's a lot I don't like, like it's jquery dependency.
How's Material Design Lite?
I went through that struggle with Angular 2 Material about a week ago. Material Design Lite is fine but I think the developers are mostly working on 2.0 so it's in the sunset period from what I understand. I also looked at VueJS as an alternative to Angular 2 but it's a similar situation where 2.0 just came out and none of libraries are supported yet. If you're wiling to wrap Materialize or MDL then those are basically your only options other than making your own implementation of Material Design. I just ended up using React personally.
I used Material Design Lite for a WordPress project and liked it. Was doing work for an Agency and they wanted the WordPress dashboard redone in a material style and self-branded, and this worked well.
There was very little extra that I had to style.
Would anyone be able to make any recommendations on hosting providers?
I have 2 sites (one for each side of the business).
The websites will be built with Wordpress.
I would also want to have the option of custom email hosting.
I already have the required domains.
Would anyone be able to make any recommendations on hosting providers?
I have 2 sites (one for each side of the business).
The websites will be built with Wordpress.
I would also want to have the option of custom email hosting.
I already have the required domains.
today I met stylelint.
OMG
who the fuck cares if it's #fff or #FFFFFF;
today I met stylelint.
OMG
who the fuck cares if it's #fff or #FFFFFF;
I for one always use full hex lower case (#ffffff).
Why?
I DONT KNOW I MAY BE CRAZY and I blame all those linters and their pretension that those things matter :'(
today I met stylelint.
OMG
who the fuck cares if it's #fff or #FFFFFF;
So how many of you have had to back out of React due to the TOS and what was your choice of replacement?
We have gone with Vue.