eisisig/react-isolate

Passing functions as props does not work

Opened this issue · 1 comments

I'm trying to do something like this on a prop

xTicksFormat: (date) => { return moment(date).format('D MMM'); },

This dosn't work on rerender of component

Right now the fixtures are JSON.stringifiy/parse so they loose the methods. There are ways to serialize objects with the methods. But I think this needs another way entirely...

I'd like the editor to work with JS...