Home > @lynx-js/react > Lynx > registerDataProcessors
Lynx.registerDataProcessors property
Register DataProcessors. You MUST call this before root.render().
Signature:
Example 1
You MUST call lynx.registerDataProcessors before calling root.render().
Example 2
If you have a class component with static defaultDataProcessor or static dataProcessors, you can use it to register DataProcessors.
Example 3
For developers who want fully typed defaultDataProcessor, they can achieve it by extends interface InitDataRaw and InitData.
Example 4
For developers who want fully typed defaultDataProcessor, they can achieve it by extends interface InitDataRaw and InitData.

