Our Blog

Brian Walters

This is a reply to How it feels to learn JavaScript in 2016.

Hey, I got this new web project, but to be honest I haven’t coded much web in a few years and I’ve heard the landscape changed a bit. You are the most up-to date web dev around here, right?

Yeah. What are you looking to do?

Cool. I need to create a page that displays the latest activity from the users, so I just need to get the data from the REST endpoint and display it in some sort of filterable table, and update it if anything changes in the server. I was thinking of maybe using jQuery to fetch and display the data?

You don’t need to use jQuery for doing simple requests. The XMLHttpRequest API is standard enough that it will work fine without a wrapper doing cross-browser corrections for you. It’s a few lines of code you can copy from stack overflow.

Wait, I thought you were going to give me a snobby retort about using React?

React is a good tool for rendering DOM dynamically. It could do the work of showing data on your page in HTML. If that’s something you’re interested in, go for it!

But can’t I do that with jQuery?

Sort of…

Read the full post on our Medium blog, Café Pixo.

Comments

Leave a reply

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

required

Interested in working with us?
CONTACT US