Sign in
Log inSign up

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 .

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct