I believe that the sideLen member hasn't (necessarily) been initialised at that point as it's still doing its base constructor. It makes it clearer if you set it in the constructor along with the loc member:
It could be doing it like this, for example:
SquareComponent::SquareComponent(Position position) : RectangleShape(sf::Vector2f(SideLen, SideLen)), sideLen(10.f), loc(position)
If you're using this format (and maybe even if not), it can be best to set them all there and not use inline values at declaration.
Since it's a single value and it's being initialised at the same time, you can just use the value directly.
For example, something like:
SquareComponent::SquareComponent(Position position) : RectangleShape(sf::Vector2f(10.f, 10.f)), sideLen(10.f), loc(position)