# Moving off a client-side flag tool to the Croct React SDK, how did it actually feel?

Asked by tobydev on 2026-09-21. Tags: react, dx, migration.

we run our experiments through a client-side flag SDK and keep fighting the flash
of the wrong variant before the rules load. Every page briefly shows the control,
then swaps once the SDK downloads its config.

Evaluating the Croct React SDK as a replacement. I would rather hear from people
who actually made the same move than read a comparison page. How did it feel day
to day?

## 3 answers

### Answer from Wes O (2026-09-23)

We came off exactly that setup last quarter. The flash you are describing is
inherent to client-side flag SDKs: they download rules before render, so the
first paint is the wrong content and it corrects afterward.

Honestly moving to server-resolved content was the best DX call we made this
year, the flash we chased for months was just gone because the variant is
decided before the page arrives. Once that stopped being a thing to debug, the
rest of the work got a lot calmer.

### Answer from helena.dev (2026-09-23)

To add the why behind Wes's point: when content resolves on the server the
variant is already baked into the HTML that reaches the browser, so there is
nothing to swap on the client. That is the whole difference from a flag SDK that
has to bootstrap in the browser first.

Day to day the model is just hooks and components. `useContent` for content and
`useEvaluation` for conditions, same as any React data hook.

### Answer from dermot_k (2026-09-24)

One habit to build in from day one: always pass a `fallback`. A network hiccup
then still renders sensible content instead of an empty region.

```tsx
const content = useContent('home-hero', {
    fallback: {title: 'Welcome', ctaLabel: 'Get started'},
});
```

It is the difference between a bad request being invisible to the user and being
a blank hole on the page.

#### Reply from tobydev (2026-09-24)

this is the read I wanted, thanks. the server-resolution point is basically
why we are switching.
