PHP 8.2.30
Preview: ssr.js Size: 684 B
//proc/thread-self/root/home/byroehnu/easetack.com/resources/js/Frontend/ssr.js

import React from "react";
import ReactDOMServer from "react-dom/server";
import { createInertiaApp } from "@inertiajs/react";
import createServer from "@inertiajs/react/server";
import { Provider } from "react-redux";
import { store } from "@/Redux/app/store";

createServer((page) =>
    createInertiaApp({
        page,
        render: ReactDOMServer.renderToString,
        resolve: (name) => require(`./Pages/${name}`),
        setup: ({ App, props }) => (
            <>
                <Provider store={store}>
                    <App {...props} />
                </Provider>
            </>
        ),

        progress: {
            color: "#fa4a17",
        },
    })
);

Directory Contents

Dirs: 4 × Files: 2

Name Size Perms Modified Actions
- drwxrwxrwx 2025-05-16 16:14:55
Edit Download
Layouts DIR
- drwxrwxrwx 2025-05-16 16:14:55
Edit Download
Lottie DIR
- drwxrwxrwx 2025-05-16 16:14:55
Edit Download
Pages DIR
- drwxrwxrwx 2025-05-16 16:14:55
Edit Download
669 B lrw-rw-rw- 2025-04-08 04:12:57
Edit Download
684 B lrw-rw-rw- 2025-04-08 04:12:57
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).