I am working on how to have React.js work with a backend. I have seen this syntax:
import React, {component} from 'React';
Why is {component} listed there? In my mind, you would of course want to use components. So I don't know why {component} is there.
I would think import React from 'React' would be enough... meaning "give me all of React". But obviously I am missing some sort of concept here.
Thank you.