Re:RFC: Adopt a modern JavaScript framework for use with Med...
by oefrha on Thursday March 19, 2020 @07:15AM
(#22626383)
You can mix and match traditional server-rendered content and JS framework (in this case Vue)-rendered components on the same page (not considering SSR here). Going full SPA means using the latter exclusively.
[ Parent
| on HN ]
Re:RFC: Adopt a modern JavaScript framework for use with Med...
by frosted-flakes on Thursday March 19, 2020 @07:26AM
(#22626449)
You can easily do that with React too. In fact, that's how Facebook first used it, using it for just the chatbox (or something) with the rest of the page as it was.
Re:RFC: Adopt a modern JavaScript framework for use with Med...
by manigandham on Thursday March 19, 2020 @08:10AM
(#22626686)
React with JSX means you can easily mount a component into an element, but you can't easily add interactivity to all of the existing HTML on the page as delivered by the server.
Re:RFC: Adopt a modern JavaScript framework for use with Med...
by DanielBMarkham on Thursday March 19, 2020 @07:45AM
(#22626552)
Got it. Thanks. We have several content-delivery pipelines at work. It had been so long since I used server-side dynamic content creation that it had slipped my mind.