Are there any trade-offs in converting a Parse
object to itsJSON
format before sending it to the client?
const data = await query.first();
res.success({ data: data.toJSON() });
I find shallow redux
updates on my client, never being rendered if I use the actual Parse
server Object
format. So, I was thinking of converting every response to regular JSON before sending it to the client.
PS: I never fire any query requests like .save()
or .find()
from the client. So, I have really no need to have it in the Parse Object format.