You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I literally fell in love with your framework!!!
I have one suggestion though. when using .merge() is annoying to have to redeclare the 'key' arg to 'id' to set up the event handler to true. I think that it's more common in real cases to set up the event handler than to use a different key for merging than 'id'.
But of course this could be a personal point of view. So one more general solution could be to pass option via an object with defaults {key: 'id', event: 'false'} to be merged with the one passed by the user.
I usually appreciate this solution whenever there are more than 3 args in a function.
What do think about it?
The text was updated successfully, but these errors were encountered:
Hi, I literally fell in love with your framework!!!
I have one suggestion though. when using .merge() is annoying to have to redeclare the 'key' arg to 'id' to set up the event handler to true. I think that it's more common in real cases to set up the event handler than to use a different key for merging than 'id'.
But of course this could be a personal point of view. So one more general solution could be to pass option via an object with defaults {key: 'id', event: 'false'} to be merged with the one passed by the user.
I usually appreciate this solution whenever there are more than 3 args in a function.
What do think about it?
The text was updated successfully, but these errors were encountered: