|
//todo: check if changing directly to mjmlJson causes perfomance impact |
|
// if so, then maintain a local state, then on change change the value first, |
|
// then by using useeffect listen for the in localvalue, then update the mjmlJson. |
|
const handleChange = useMemo( |
|
() => (e: ChangeEvent<HTMLInputElement>) => { |
|
let value = e.currentTarget.value; |
This issue was generated by todo based on a todo
comment in 59380b0. It's been assigned to @aghontpi because they committed the code.