|
|
|
|
|
by tigershark
3227 days ago
|
|
I think I understand it quite well having worked for more than a decade on complex systems.
I can't say the same for you if you think that putting some logic in the presentation layer like the example above is a good thing.
I would always transform my domain in the model object while the presentation layer should only present the transformed model.
Using a map function directly in JSX is a sure recipe for disaster in a complex system.
But I seriously doubt that you can understand this looking at your answer. |
|