1 minute reading time (225 words)

What Have I Been Doing ?

I have been busy building up quality content and building relationships for tours and car rental for http://bestantigua.com which now has its own website and we run that alongside the blog http://bestantigua.wordpress.com

Part of the development work is a web / mobile app for booking cars in Antigua. You can have a play here http://bestantigua.com/app/app.html#/cars

I am now shifting focus onto REACT from the facebook developers and Angular 2. The preference is perhaps for Angular 2 not because I know Angular 1 but because I like frameworks and the support for applications that brings.
Both are compiling less than familiar 'JS' into .js. es6 does bring less familiar js anyway and browser support is less than clear and so this step may be a necessary evil anyway.

Angular 2 uses TypeScript which seems to be transpiling very basic typescript to javascript in 4s from my terminal using 

require('gulp-typescript');

that's not that fast unfortunately thats every edit !

I am finding REACT has a steeper curve in that it is a library and requires auxiliary libs and compilers like Babel which understands JSX thats the key component language. But interestingly they both use a mock DOM concept and update the real DOM only when necessary for performance.


This is a key to fast js apps. If you must do a slow thing (update the real DOM) then do it ONCE only.

REACT JSX BABEL GULP CONFIGURATION EXAMPLE

React and Flux Sending State to Children Component...
How to make better aerial movies..
 

Comments

No comments made yet. Be the first to submit a comment
Already Registered? Login Here
Guest
Sunday, 13 October 2024

Captcha Image

By accepting you will be accessing a service provided by a third-party external to https://cambs.eu/