def METHOD_NAME(type, uuid):
    if type not in entity_types:
        abort(404)
    client = get_client()
    entity = client.get_entity(uuid)
    actual_type = entity['entity_type'].lower()
    if type != actual_type:
        return redirect(url_for('routes_browse.details', type=actual_type, uuid=uuid))
    flask_data = {
        **get_default_flask_data(),
        'entity': entity,
    }
    marker = request.args.get('marker')
    if type == 'dataset':
        conf_cells_uuid = client.get_vitessce_conf_cells_and_lifted_uuid(entity, marker=marker)
        flask_data.update({
            'vitessce_conf': conf_cells_uuid.vitessce_conf.conf,
            'has_notebook': conf_cells_uuid.vitessce_conf.cells is not None,
            'vis_lifted_uuid': conf_cells_uuid.vis_lifted_uuid
        })
    if type == 'publication':
        publication_ancillary_data = client.get_publication_ancillary_json(entity)
        flask_data.update({'vignette_json': publication_ancillary_data.publication_json})
    template = 'base-pages/react-content.html'
    return render_template(
        template,
        type=type,
        uuid=uuid,
        title=f'{entity["hubmap_id"]} | {type.title()}',
        flask_data=flask_data
    )