Skip to content

v2.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 17 Nov 22:34
· 1 commit to main since this release
fecbd7b

Minor Changes

  • #83 4a1fea9 Thanks @Wendystraite! - Add parent property to createInjector. This property enables hierarchical dependency injection by allowing child injectors to inherit and override dependencies from parent injectors. This creates a tree-like structure where:

    • Child injectors can access and use the dependencies of their parent injectors.
    • Dependencies can be overridden at the child injector level, allowing for more granular control over dependency resolution.

    Add MoleculeProvider for React applications. This React component provides the implementation of a molecule interface for all molecules lower down in the React component tree. It uses the new parent-child injector hierarchy to ensure that existing molecule instances are preserved while allowing interface resolution.

Patch Changes