-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[props-order]: New Sorting Logic (#21)
* Change sorting logic * support reserved props * add failing test * correct logic * merge getIndexInPriority into getPriority * Assign unique priorities for each props * impl calcPriorityFromIndex * Support options * add options test * rename isCompPropsBeforeStyleProps to displayCompPropsBeforeStyleProps * Update comment * Update src/lib/getPriorityIndex.ts Co-authored-by: Yuku Kotani <poyo0315@gmail.com> * Update src/lib/getPriorityIndex.ts Co-authored-by: Yuku Kotani <poyo0315@gmail.com> * Update src/lib/getPriorityIndex.ts Co-authored-by: Yuku Kotani <poyo0315@gmail.com> * Apply suggestions from code review Co-authored-by: Yuku Kotani <poyo0315@gmail.com> Co-authored-by: Yuku Kotani <poyo0315@gmail.com>
- Loading branch information
1 parent
4dafb3c
commit 8b268ea
Showing
3 changed files
with
471 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.