Senior DevOps Engineer @Seedrs
In my previous article, 3 Reasons to Build Monolithic Systems, I recommended…
Multi-stage builds feature in Dockerfiles enables you to create smaller container images with…
Can you please elaborate more on this? I do not see an issue with this yet. Encapsulation is not for safety or security but for distinguishing between the implementation details and the public interface of an object. As far as I can know, OO languages do generally not claim that public/private distinctions have any other benefits.
You are correct, that’s exactly why I say it’s personal preference! However I would argue it has a few other benefits – nothing game changing – but nice-to-haves (I would also say it’s slightly less code).
React.PropTypes has been deprecated. The functionality is exactly the same, it’s just been moved into its own package: prop-types.