code: def render_layout(self, app, path, alias=None):
          
          self.assign_routes(app)
          return ReactComponent(
              self.layout,
              self.src_file,
              self.component_id,
              props=self.build_props(),
              static_path=path,
              alias=alias)
docs: Write to javascript.