mmlpxjs / mmlpx

🐘 mobx model layer paradigm
MIT License
181 stars 10 forks source link

support for lazy injection #19

Open misaeldossantos opened 4 years ago

misaeldossantos commented 4 years ago

if the injection decorator receives a function, the store will be resolved when requested, after its creation (class). This will allow mutual references - one store references another, and this reference is the first