(instance, props, prevProps = {})
| 233 | } |
| 234 | |
| 235 | function applyTextProps(instance, props, prevProps = {}) { |
| 236 | applyRenderableNodeProps(instance, props, prevProps); |
| 237 | |
| 238 | const string = props.children; |
| 239 | |
| 240 | if ( |
| 241 | instance._currentString !== string || |
| 242 | !isSameFont(props.font, prevProps.font) || |
| 243 | props.alignment !== prevProps.alignment || |
| 244 | props.path !== prevProps.path |
| 245 | ) { |
| 246 | instance.draw(string, props.font, props.alignment, props.path); |
| 247 | |
| 248 | instance._currentString = string; |
| 249 | } |
| 250 | } |
| 251 | |
| 252 | export * from 'react-reconciler/src/ReactFiberConfigWithNoPersistence'; |
| 253 | export * from 'react-reconciler/src/ReactFiberConfigWithNoHydration'; |
nothing calls this directly
no test coverage detected