React

What React is

The foundation for the main course project is Facebook's React framework. It offers a way to modularise your application into components. Each component can be passed properties from the parent, and it can also hold some state that can be changed. You never have to update anything when properties or state change; a component just needs a render function for the initial rendering, and then React will do some behind-the-scenes magic to performantly use that for updates as well!

Learning resources

There is an excellent getting started section on the main React homepage which we heartily recommend. Prior to going through that this video serves as a good first getting-to-know-React flirt:

To get started yourself we recommend the course demo app.

Note that there might also be some React snippets in the snippets list on the JavaScript resource page on the Guild deeds page!

Using React in the course

As already said your main course project will be built using React, along with Redux for data handling and React Router for routing.

The reason behind choosing React is that it is a tiny API and thus has a rather low threshold when compared to other frameworks such as Ember or Angular. Also, since this course focuses on code organisation and best practices, we don't want to use a framework which answers most such questions for you! And, finally - React is rather brilliant!

Welcome to CoursePress

en utav Linnéuniversitets lärplattformar. Som inloggad student kan du kommunicera, hålla koll på dina kurser och mycket mer. Du som är gäst kan nå de flesta kurser och dess innehåll utan att logga in.

Läs mer lärplattformar vid Linnéuniversitetet

Student account

To log in you need a student account at Linnaeus University.

Read more about collecting your account

Log in LNU