My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

How to avoid the use of API(JSON data) with react, instead use it like TWIG or templating engines.

Default profile photo
Anonymous
·Jul 10, 2019

How can one imagine using React as a Templating Engine? Avoiding the use of JSON or APIs altogether and instead provide React with what it needs like PHP-Twig, Templates? As fas as I know, react fetches data it needs, or requires JSON data, to begin with to use it in states etc .