zlacker

[parent] [thread] 1 comments
1. dreamc+(OP)[view] [source] 2020-11-29 02:04:12
A REST API is purely a server-side issue, so you don't need JS for that (unless your server is Node of course).

You still need Ajax (at least) for truly dynamic content. The bad news is that Ajax requires client-side JS. The good news is minimal Ajax functionality only takes about 30 lines of pure Javascript. The bad news is you will need to write those 30 lines yourself because every JS library is at least 100x bigger than that and packed with cruft you don't need.

My advice is to pretend React doesn't exist, learn Javascript, and write just the Javascript you need and no more.

replies(1): >>xboxno+m1
2. xboxno+m1[view] [source] 2020-11-29 02:20:48
>>dreamc+(OP)
That still uses Javascript, and that seems to be the parent's point.
[go to top]