score:0

your question helped me a lot to get my code working, so trying to give something back:

i think you need to add a key to your geojson layer, see this answer here: https://stackoverflow.com/a/46593710/7392069

for the wfs i used i also had to add the projection to the request params, since another local epsg code was used by default:

srsname:'epsg:4326'

you may also need to add a style, but at least in my example the mapserver applied a standard style, so this should be optional:

    style = (feature) => {
      return {
        // fillcolor: '',
        weight: 3,
        opacity: 1,
        color: 'red',
        dasharray: '3',
        fillopacity: 0.0
      };
    }

and

                <geojson
                    key={hash(blah)}
                    data={this.state.data}
                    style={this.style}
                />

Related Query

More Query from same tag