Small improvements and data-sharing in angular and react