Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,11 @@ The same can be accomplished without using Next.js.
Step 1: Initialising the SDK and passing the resulting state to the client.

```javascript
import { createFlagsmithInstance } from "@flagsmith/flagsmith/isomorphic";

// Create a fresh instance per request to prevent identity leaking across concurrent SSR requests
const flagsmith = createFlagsmithInstance();

await flagsmith.init({
// fetches flags on the server
environmentID: '<YOUR_ENVIRONMENT_KEY>',
Expand Down
Loading