langflow
langflow copied to clipboard
refactor: update template api, handleonnewvalue and handlenodeclass hooks
- Added TemplateUpdate mutation
- Refactored ParameterComponent call to update the component on new value, when it's updatable in real time.
- Refactored the whole ParameterComponent and EditNodeModal to use only one HandleOnNewValue and HandleNodeClass. help: @anovazzi1
- Refactored the IntInput to not lose cursor position when the Update Component mutation is called