Currently there is no way to pass parsed arguments from accept()
to next steps (binding()
or controller()
). This causes unnecessary duplicate parsing.
Example:
tweakpane/packages/core/src/input-binding/color/plugin-string.ts
Lines 35 to 38 in 4f5175b
tweakpane/packages/core/src/input-binding/color/plugin-string.ts
Lines 61 to 63 in 4f5175b
It can also be implemented on the current structure like this:
tweakpane/packages/core/src/input-binding/color/plugin-number.ts
Lines 67 to 70 in 2e888df
Owner Name | cocopon |
Repo Name | tweakpane |
Full Name | cocopon/tweakpane |
Language | TypeScript |
Created Date | 2016-05-10 |
Updated Date | 2023-03-17 |
Star Count | 2603 |
Watcher Count | 19 |
Fork Count | 71 |
Issue Count | 11 |
Issue Title | Created Date | Updated Date |
---|