kadirahq / react-simple-di

Simple Dependancy Injection Solution for React
MIT License
56 stars 24 forks source link

Is this package still maintained? #12

Open PolGuixe opened 7 years ago

PolGuixe commented 7 years ago

I see some things not very update to date with the last versions of React.

Is this still maintained?

Is people moving away from it?

lhz516 commented 7 years ago

Kadira is shut down. I hope someone can take over this repo to keep it updated.

macrozone commented 7 years ago

I use it heavely in mantra projects, I am thinking about forking mantra-core, react-komposer and react-simple-di. I am already maintainer of mantra-cli.

Anyone willing to help? I am also planing to promote some mantra-based packages that we build (or are building at the moment) like a highly modifiable admin-ui, so stay tuned

martinhbramwell commented 7 years ago

@macrozone

I will certainly help if I can. If you want to fork the packages unchanged I'll switch to them immediately.

Apart from the createClass and PropTypes nuisances, have you prioritized the unresolved issues on those various packages?

vladejs commented 7 years ago

@macrozone , any npm installable fork of this package updated to latest react?

martinhbramwell commented 7 years ago

@vladejs @macrozone I hope he steps in soon. :-(

macrozone commented 7 years ago

@martinhbramwell sorry, had no time yet and it was not that urgent (altough i still use react-simple-di through mantra)

I would start forking it, update react, createClass and PropTypes (react-simple-di). (i just did the fork and added @

for mantra-core:

(https://github.com/panter/mantra-core)

But i am not sure if mantra-core is really needed though. It just adds a pattern to do stuff when a module initializes, but apart from that does nothing useful. Als it lacks support for react-router or react-native. It also does not help with lazy loading. So i would drop it, until a better pattern arises.

We might focus on improving mantra-cli, so that you can customize module creation with a template where you can use mantra-core or other basic module initialization.

I also found that mantra-cli works for react-native apps (use latest beta). You just have to delete the module/index.js and module/router.js file

vladejs commented 7 years ago

I would like react-simple-di be updated asap.

For mantra-core, you might like to take a look into Mantra Phoenix: my approach to get mantra to new levels by using mobx and mobx-react with a Redux like API for Containers and support for Meteor 1.5+ (including dynamic imports)

Check it out here: npmjs.org/packages/mantrax

tmpg commented 7 years ago

Hey needed these packages updated so I made these drop-in replacements which play nice with React v16: react-simple-di --> react-simple-di-extra mantra-core --> mantra-core-extra

Could use some help maintaining them etc. Let me know if you want to help or just send a pull request.