@leafage/renderer
Version:
The React Server Side Render Framework
30 lines (28 loc) • 610 B
JavaScript
/**
* @leafage/renderer v1.3.2
*
* Copyright (c) Leafage.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/
var createContext = function createContext(context) {
return {
context: context,
options: context.options,
isDev: context.options.dev,
resources: [],
findResource: function findResource() {
return null;
},
renderRoute: function renderRoute() {
return '';
},
render: function render() {
return '';
}
};
};
export { createContext };