File
containers/{container}/index.{tsx,jsx}
The main React component for this specific container.
containers/{container}/index.{tsx,jsx}
import resolvers, { getResolver, getProps } from '@render-edon/resolvers';
export default () => {
const context = undefined;
/// Writing the code.
};
info
⚠️ Important: Never have a return function. A function marked with export default takes a return.
⚠️ Important: The context value also remains unchanged in the specified function.
⚠️ Important: import resolvers, { getResolver, getProps } from '@render-edon/resolvers'; never change.
The context and return values of isFnCb in each layer are passed to the corresponding layer file.