4 ms·
> You mostly cannot just drop it in some place and then use it in other part You mostly can. In fact, I'm not aware of a major web framework that you can't.
by paulddraper 3y ago
> You mostly cannot just drop it in some place and then use it in other part
You mostly can.
In fact, I'm not aware of a major web framework that you can't.
- zdragnar 3y agoEmber might be the last of the old guard frameworks where this is somewhere between hard and impossible (last I looked at it anyway). Nowadays, the main libraries are designed to not totally take over the entire page, though add-on frameworks which want to be "batteries included" (i.e. Next for react) certainly will.
- andirk 3y agoDropping in is the new thing now. Vue and other Javascript frameworks utilize "web components" https://developer.mozilla.org/en-US/docs/Web/API/Web_components https://developer.mozilla.org/en-US/docs/Web/API/Web_compone... which are supported all over now. You have your `<video src="someVideo.mp4">` that is part of spec, and then you have your custom element `<myVideoPlayerThing src="someVideo.mp4" fartButton="true">` that does wtf it wants under the hood but surfaces as a regular HTML DOM element.
- ozim 3y agoYou tried doing it with 6+ developers on the team and full backlog of stuff to be implemented and you were able to explain to everyone why "this specific place" has to be different? With business on board and getting web server configuration aligned with ops to have routes and URLs.