- Enhancement #10 – allow passing initial state when installing bricks
- Bug fix: in some cases, the Brick Manager was instantiated by the Brick Provider multiple times, this was fixed
- Bug fix issue #8 – updated during render warning and infinite update loops
- Refactoring of
BrickManager
- Added
sideEffects: false
configuration to package.json to allow efficient tree shaking with webpack (see webpack documentation)
- Bug fix – in some setups, the browser console showed error about a component changing state during render when
changing routes with React Router. This was caused by the
withBricks
orwithBrick
HoC installing the same bricks multiple times. This was fixed. - Fixed vulnerability from
merge
module found by npm audit - Bugfix in utility function –
getValueByDottedPath
returned parent element if queried for non-existing child (now correctly returns null)
- Peer dependency of React at least version 16.3.0 required
- Added BrickProvider that allows to a a Brick Manager instance to nested components
- Added withBrick and withBricks functions that create higher-order
components (HoCs) that can add one or more bricks to the parent application's Redux setup through the
Brick Manager provided by a
BrickProvider
- Added useBrick and useBricks React hook function that allow to add one
or more bricks to the parent application's Redux setup through the Brick Manager provided by a
BrickProvider
(Experimental! – required React version 16.7.0-alpha.0, not recommended for production use)
Reduced CommonJS bundle size, redux-saga had been accidentally included in the bundle
- Initial release