dulowski-marek / inwerter Goto Github PK
View Code? Open in Web Editor NEWThe lightweight Dependency Injection solution for Typescript-based applications
License: MIT License
The lightweight Dependency Injection solution for Typescript-based applications
License: MIT License
To avoid unexpected output structure changes, tests should be implemented that would take main
, types
and module
fields and check for existence of appropriate files.
@abraham/reflection
types metadata key only as string
- Symbol('inwerter.metadata')
which was used to avoid naming collisions had to be changed to __INWERTER_METADATA_KEY__
.
Symbol should be used again as soon as possible, so there's PR to @abraham/reflection
to fix the typing - abraham/reflection#149
Related issue (introduces @abraham/reflection
dependency) : #9
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
@types/react
, @types/react-dom
, react
, react-dom
)These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
@types/jest
, jest
)@types/react
, @types/react-dom
)@types/jest
, jest
, ts-jest
).circleci/config.yml
package.json
@abraham/reflection ^0.8.0
@types/jest 26.0.23
jest 27.0.4
rollup 2.51.1
rollup-plugin-filesize 9.1.1
rollup-plugin-node-resolve 5.2.0
rollup-plugin-terser 7.0.2
ts-jest 27.0.3
typescript 4.3.2
packages/inwerter-react/package.json
@testing-library/jest-dom ^5.14.1
@testing-library/react ^12.0.0
@types/react ^17.0.13
@types/react-dom ^17.0.8
inwerter ^0.3.2
jest ^27.0.6
react ^17.0.2
react-dom ^17.0.2
ts-jest ^27.0.3
typescript ^4.3.5
inwerter ^0.3.2
react ^17.0.2
Problem
Currently https://github.com/rbuckton/reflect-metadata is used, which provides its own polyfills for objects like WeakMap
. There's an issue aiming to solve it, but there's no response (rbuckton/reflect-metadata#73).
Due to how reflection works under the hood, the package makes its way into consumer bundle, which adds large size overhead unnecessarily.
Solution
There's an alternative implementation of metadata proposal which is sufficient - https://github.com/abraham/reflection , which should be used.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.