News for hackers. Stuff that matters.
Re:Using React, Firebase, and Ant Design to Quickly Prototyp... by ggregoire on Tuesday March 27, 2018 @11:00AM (#16689082)
Logic and presentation are not mixed. The logic is inside the Class methods and the presentation is inside the Class render(). You can also move the logic outside of the Class component (that's one reason to use Redux).

And you can also create stateless components without any logic, eg.:

    const Header = () => <h1>Hello World</h1>

There are no comments on this comment yet.