Message from JavaScript discussions

August 2018

— I would change to use `const` whenever you can and don’t want `references` to be modified.


You can’t send or receive blobs with GraphQL. I would recommend to send over GraphQL a url where you can consume the media file.
To send binaries to your service you will need a REST API or something like that.

— OK

— Ionic is meh meh meh

— I use vars only. D.Crockford voted for let only.

— Always use const except when you intend to modify a variable later (which should be avoided as much as possible)

even worst browser like IE 11 supports let and const, there is no need to use var.

Another notable difference between var and let, const is:

var when used in global scope adds properties to window object (in browser) whereas let and const dont add to window object

var a = 1;

will evaluate to 1

where if u use const or let to declare a,

such as
const a = 1

window.a would be undefined

Message permanent page

— For most cases, it's better to transpile to support older browsers.

— Thanks all

— Please who has use mobx for state management??

— Dont know about mobx always using redux and context api for state managment

— Please I'm looking for a tutorial on how to do a modal form using react and redux. I've search google all day but no luck

Message permanent page

— Take a look at redux-form, pretty awesome for form state management