The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

517352 (1) [Avatar] Offline
Not good

Industry best practices dictate "stateful" vs "stateless" component architecture.

Parent components are stateful - child components are just "dumb" stateless constructs primarily intended for rendering output and capturing input...

Stateful components are intended to acquire and manage application state (i.e. data), usually acquired via API endpoints...

The diagram in chapter one, along with any supporting code, is inappropriate...

Yakov Fain (219) [Avatar] Offline
Not sure where did you find references to stateful and stateless components in chapter 1. Please be more specific.

Yakov Fain
517347 (1) [Avatar] Offline
MEAP chapter 1

Figure 1.1. Sample architecture of an Angular app

and any supporting code to follow

Yakov Fain (219) [Avatar] Offline
And what Figure 1.1 has to do with stateful/stateless nature of components?