-
Notifications
You must be signed in to change notification settings - Fork 47.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include latest version of jQuery in tutorial #3498
Conversation
We should perhaps even update this further and match what we do in the html we ship in the tutorial repo: https://github.com/reactjs/react-tutorial/blob/master/public/index.html Let me know if you want to do that or we can always to that later. It hasn't been an issue either way. |
That's a good point! Looking at the tutorial repo I can see it uses jQuery 2.x, which doesn't support IE8, whereas React does if you use some polyfills right? Would it make sense to use jQuery 1.x both here and in the tutorial for those that might be seeking to develop against IE8? Let me know what you think and I'll update this branch accordingly and open a PR in the react-tutorial repo if need be :) |
I don't think it's super important to make the tutorial compatible with IE8. IE8 is usually an afterthought and if you do need to support it, you probably have some experience and know what you would need to do differently (including using an appropriate version of jQuery and not just copy and pasting code from tutorials). |
any thoughts of removing jquery for fetch (potentially with a reference to |
Ooh that's a good idea actually @iamdustan :) What do you think @zpao? |
I like the idea but I'm a bit torn that it might be too new. While We don't do it in the tutorial but elsewhere we talk about aborting xhr during So for now, let's just stick with what we have. We may want to revamp the tutorial entirely in the future and we can consider it then. |
fwiw, Great point concerning aborting. Seems like a big oversight to the |
True, I forgot about jQuery's deferreds. And that's a good point. I'm not opposed longer term, but let's keep this change simple. I love the enthusiasm though - let's chat more about what else we can do to make some broader changes to the tutorial. |
Include latest version of jQuery 2.x in tutorial
Yeah not being able to Cool, so I've updated to |
Include latest version of jQuery in tutorial
👍 thanks! |
Include latest version of jQuery in tutorial
The commit message should be descriptive enough :)
I have already submitted a CLA in the past.