These are, somewhat, the forbidden fruits of Reason :-) Anyway, this is a good 'tricks of the trade' guide to the working practitioner. The only things I would add, are that the React string identity trick is exactly how the actual React.string function is defined, and that Obj.magic is basically a name given to the %identity trick itself. So e.g. you could do
These are, somewhat, the forbidden fruits of Reason :-) Anyway, this is a good 'tricks of the trade' guide to the working practitioner. The only things I would add, are that the React
stringidentity trick is exactly how the actualReact.stringfunction is defined, and thatObj.magicis basically a name given to the%identitytrick itself. So e.g. you could doAnd you'd get
var test = {};Thank you for your input, I really appreciate it.
I updated the post.