Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parse custom NativeState in Flow (facebook#34753)
Summary: Pull Request resolved: facebook#34753 This Diff introduce a the capability to parse custom NativeStates in Flow. To achieve this I also had to define the CodegenSchema. The parsing follows the exact same rules as props, as initial heuristic. This should allow enough customization for the developers who needs a custom state. There is only a case I was not able to make it work that is STATE_ALIASED_LOCALLY, from the fixtures. I don't know how diffuse it is and I think we can live with some workarounds for the time being. This diff also adds tests for the custom Native State Flow Parser. ## Changelog [General][Added] - Implement custom Native State parsing in Flow Differential Revision: https://internalfb.com/D39686251 fbshipit-source-id: 18b3e2973bdf20b4858d416cc934f8bfa3bdb538
- Loading branch information