5 ms·
I think having it be entirely separated from JS was a mistake. A lot of the web is Apps not documents and the separation is often much more of a hindrance than
by mememachine 10y ago
I think having it be entirely separated from JS was a mistake. A lot of the web is Apps not documents and the separation is often much more of a hindrance than a help.
Obviously it can be nice for organization, but that should really fall more on the individual to decide than the spec.
- moron4hire 10y agoIn what way do you consider DOM separate from JS such that it causes difficulty for application development?
- mememachine 10y agoTake the entire usecase for ReactJS as my example
- moron4hire 10y agoSeeing as I don't see the need to use React, I also don't see your point.
- mememachine 10y agoDo you see the need for the C language? They both make life significantly easier
- moron4hire 10y agoTo draw a comparison between JS and assembly is to seriously misunderstand both.
- mememachine 10y agoi think you are certainly taking my comparison in some way i did not mean, because i see no misunderstanding...
- SadWebDeveloper 10y agoNot everyone is developing SPA's nor working with the same constrains that facebook has (optimized incremental changes to UI). This new trend of making everything in JS for JS by JS Developers is crippling the web ability to display the dynamic information as a document and forced the creation of standards (AMP) to preserve the real legacy of the web.
- mememachine 10y agoThe DOM is a subset of React
- SadWebDeveloper 10y agoThe DOM is _abstracted_ by React not a subset of React. If you can't see the difference between subset and abstract you are either new on the web development scene or just another die-hard fan of JS development.
- mememachine 10y agoYou can write any and all DOM in react, that is the definition of subset. your ad hominem is pathetic, and i hope the moderators take action on my report.