react-sails
Integrate sails model into React UI.
Example Usage
Component { return <SailsApp initialData=windowdata> <div> <Table model="Book" /> </div> </SailsApp> ; } Component { const model = thiscontext; if !model return <div>Loading...</div> else return <table> <thead> <tr><th>Column 1</th><th>Column 2</th></tr> </thead> <tbody> model </tbody> </table> ; } TablecontextTypes = // The method provided by SailsApp getSailsModelCache: ReactPropTypesfuncisRequired;