@heartbreak
King Puma
Ask me about my awesomeness.
Nothing here yet.
No blogs yet.
Yes. you can. (to an extent) look here for class/style switching in angular2: https://coryrylan.com/blog/introduction-to-angular-2-ngclass-and-ngstyle what you would do is this: < body [ ngclass ]= SLECTEDCLASS > <button class="myclass">press me!</button> </body> in the CSS (i use less in my project) you would have your "themes" as such: theme1 { .myclass { color:red } } theme2 { .myclass { color:blue } } in your JS code, you would have logic to change "SLECTEDCLASS" between theme1, and theme2 The drawback (and perhaps limitation) is that the expectation between the layouts in different themes would need to remain the same. i.e: if one template is: <div class = "a" > <span class = "b" > </div> <span class = "3" /> you would run into issues if you have below in the other: < span = "b> <div=" a" > < span="3" > </ div >
Only a good testing can save a developer from his own stupidity really. no amount of languages will save that. That being said, Typescript will definitely catch your "stupid" mistakes... We all made em: function add ( expectingInt ) { expectringInt++ } add( "crap this is a string" ); typescript will definitely ensure that you are typesafe, and honestly, with ES6, i see absolutely 0 reason NOT to use typescript. you are getting an extra level of safety with little to no negatives.
NodeJS is a run time for javascript...things are built on top of ot: Express / Passport are just frameworks on top of nodejs Express is how you would handle API/Rest stuff, and passport is how you would handle authentication..so it would run hand in hand. React is a frontend framework, so you could use it to display your frontend stuff if needed
most of the angular structure will remain the same. With Typescript, you will need to compile them down to JS for most modern browsers. As for learning...how familiar are you with Javascript? if pretty good, go with angular TS. i find those that try to learn angularTS without good JS knoweldge struggle