I'm building a simple page. Ok let's do simple html. Now I need popup for email capture, ok add a bit of hacky js. Now add a menu, could potentially be done with css only.
Now add responsive images. Good luck. You need to process then on server side, then handle them on client side etc...
Now add some customer area...
Add a few more features and it becomes complex.
Why would you want to now throw away all this and rewrite in react when you could just start with react.
In addition I can even migrate my old app to the new one and sometimes I can just copy paste certain components and css styles (thanks to css in Js) and it just works.
Honestly I don’t want to write responsive images manually. I just wrote a system once, now any app reuses the same thing. Same for other stuff. Plus I only need to know react and I can build anything.
You telling me now to learn htmlx syntax and use it sometimes, then use react other times just because… it’s simpler. The benefit is minimal, but now I need to know 2 worlds: react and htmlx.
Take away that, and no matter how good that book was, sales would be closer to 0.
Actually getting this success is more likely like this:
- spend last 5 years getting followers on Twitter by writing engaging content, reply to others.
- spend also many years in your website and include a mailing list
- email your email list regularly with very interesting things
- spend 1 year to write a book
- send a blast email and tweet about your new book: Most likely people will buy whatever you say at this point because they trust you already.
This is the secret formula, which is hard work and 99.99% can’t do this consistently. (In addition, but not really required, also be smart and bring something new to the table)
From the author:
- I wrote on my blog for nearly a decade before I could launch a book that I sold.
- Announce it, ask for email sign ups if they are interested, keep them in the loop, and then launch. The mailing list had about 1,000 people on it once I launched (about two months from announcing it to doing the early access launch)
- I settled on adapting one of my more popular [blog posts][2] that I keep updated through each version of iOS into a five book series
I’m also surprised how people can’t see the benefit of have 1 way of doing things. 99% of the websites end up in app like features.
Maybe we don’t talk about the same thing, but isomorphic code with react is great for websites too: server side render, instant page change on client side. Reuse of exact code. Huge benefits.
Related to multiplayer rts games this is also done with same tech but node.js only to reuse code between client and server side https://bitplanets.com/
I wonder what performance issues you had with node.js that justified a bridge to c++ (including the increase of complexity of the architecture). Pathfinder is not terrible in node.
I watched people use software for years. If you have the exact same Popup every day, you’ll get used to click ok. Has no meaning anymore. It’s in the muscle memory.
I don’t want to touch the root of my server. I rather add a new container that doesn’t modify anything on the root.
Benefits: can cleanly and delete 100% of what was installed. If you use something on root can always infect, save cache, logs…
I don’t want to impact anything else running on my server. I don’t want anything to depend on that either silently.
Docker is the best thing. I just can’t understand how people still can’t get the benefits yet.
Is Amazing to start a project you had 3 years ago and just works and you can deploy without reading any docs. Just spin a docker container. Eat, safe and just works.
The problem is that people don't treat css as code. If you use styled components or css in js you'll treat it as code.
Nobody would change private properties in a js class from outside that class. Same to css, you should not change css attributes from parents. Those are private to their component they are rendering.
If you need that, provide a public attribute to the component and he'll change it's design.
I still don’t understand what’s so interesting about it… why you wouldn’t just write js that you already know? Instead choosing to use strings to code… ugh