MCPcopy Index your code
hub / github.com/plotly/dash / checkPropStringCoercion

Function checkPropStringCoercion

dash/deps/react-dom@18.2.0.js:267–275  ·  view source on GitHub ↗
(value, propName)

Source from the content-addressed store, hash-verified

265 }
266 }
267 function checkPropStringCoercion(value, propName) {
268 {
269 if (willCoercionThrow(value)) {
270 error('The provided `%s` prop is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', propName, typeName(value));
271
272 return testStringCoercion(value); // throw (to help callers find troubleshooting comments)
273 }
274 }
275 }
276 function checkCSSPropertyStringCoercion(value, propName) {
277 {
278 if (willCoercionThrow(value)) {

Callers 1

coerceRefFunction · 0.70

Calls 4

willCoercionThrowFunction · 0.70
errorFunction · 0.70
typeNameFunction · 0.70
testStringCoercionFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…