Reading:
Single Page Apps Without Frontend Framework

Single Page Apps Without Frontend Framework

Metamug

Web app development using NodeJS without reactJS and any framework.

ROUTING- no need for react-router server

Redirect loads the same page and the client use history API or load page section based on URL state. Look for react-router alternates to manage pages, micro UI can be used to load a limit set of JS different bundles for different pages.

COMPONENTS OR FRAGMENTS- Different complex HTML DOM templates can be written in sever side fragments or (PHP, JSP, etc.) The templates can be included on the page wherever required.

VIRTUAL DOM - NO need to maintain state or variables only edit parameters are needed, render/rerender only works to add syntactical complexity. Assess your page and see its complexity to decide whether it needs heavy DOM manipulations to avoid such design which requires DOM manipulations. If still needed, add a react section to the page, but don't go ahead and design the whole page using react.



Icon For Arrow-up
Comments

Post a comment