5 ms·
this is sooo cool. Can you build this for Flask as well - basically Jinja2. I do believe that Django can use jinja2 as well. However, would like to compile all
by sandGorgon 8y ago
this is sooo cool. Can you build this for Flask as well - basically Jinja2. I do believe that Django can use jinja2 as well.
However, would like to compile all the reactjs stuff before including it in flask/django.
You could look into the https://github.com/nozzle/react-static https://github.com/nozzle/react-static project to use their static compiler (which does React -> static html/js) to achieve this exact thing.