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 (#34753)
Summary: Pull Request resolved: #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 Reviewed By: cortinico Differential Revision: D39686251 fbshipit-source-id: 446997a39b33b7e9351d5ba12cecaeff33df4d16
- Loading branch information