moreartyjs / moreartyjs

Morearty.js - centralized state management for React in pure JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow passing custom react context in context.bootstrap()

honzatrtik opened this issue · comments

Something like

var context = Morearty.createContext({});
context.bootstrap(App, { someCustomContext: "" });

would be very usefull...

Hello.

@honzatrtik am I understanding correctly that you want to pass your own custom React context which will be enriched with Morearty-related data in bootstrap?

This is now possible in 0.7.5.

Yes, thank you very much!