Question: Inside my parent component I have a child component that I need to render only once - at the very beginning. Because the data inside wont ever change until next page reload. What I try to do is somehow force React.memo to prevent rendering of this child component:

```
const ParentComponent = (props) => {

    const ChildComponent = React.memo(({items}) => {
        const { param1, param2, param3 } = items;
        ...
        return (<Box>..</Box>);
    }, (prev, nxt) => true); // Here I try to force no render

    return (<Box>
          <ChildComponent items={{
             param1: 'some val..',
             param2: 'some val..',
             param3: 'some val..',
          }} />
          ...
       </Box>);
}

```

But child component still re-renders on each parent state change. Am I doing something wrong?

Answer: 
Bootstrap provides [gutters](https://getbootstrap.com/docs/5.2/layout/gutters) class that enable you to change the value of the variable used for the padding.

Instead of `px-0 px-lg-3`, I can use `gx-0 gx-lg-4`.

```css
.container{
  border:3px solid orange;
}
```

```html
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.0.2/css/bootstrap.min.css">
<div class="container">
  <div class="row">
    <div class="col-12 bg-light text-dark">A</div>
    <div class="col-12 bg-dark text-light gx-0 gx-lg-4">B</div>
    <div class="col-12 bg-light text-dark gx-0 gx-lg-4">C</div>
  </div>
</div>
```
Hopefully, I am understanding you correctly. You could test setting "--bs-gutter-x" to "0" for .container in a custom css file if you don't want to go the SASS route, as in the following (see the snippet in action at <https://codepen.io/sam-miller-the-flexboxer/pen/mdxbQGr>)?

```css
.container{
  border:3px solid orange;
  /* redefined bootstrap variable */
  --bs-gutter-x: 0;
}
```

```html
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.0.2/css/bootstrap.min.css">
  <div class="container">
    <div class="row">
      <div class="col-sm-4 bg-light text-dark">A</div>
      <div class="col-sm-4 bg-dark text-light">B</div>
      <div class="col-sm-4 bg-light text-dark">C</div>
  </div>
</div>
```