News for hackers. Stuff that matters.
Re:Reflex – Web apps in pure Python by impulser_ on Wednesday August 02, 2023 @01:56PM (#36974444)
It's just Python code that gets translated into a NextJS app.
Re:Reflex – Web apps in pure Python by marwis on Wednesday August 02, 2023 @02:20PM (#36974768)
Where did you find this information?
Re:Reflex – Web apps in pure Python by n3storm on Wednesday August 02, 2023 @02:57PM (#36975379)
F12 o Ctrl+U on most browsers
Re:Reflex – Web apps in pure Python by marwis on Wednesday August 02, 2023 @04:09PM (#36976594)
Most browsers are mobile so that won't work :)

I was hoping there is some technical explanation how the compilation step works (especially what do they do to event handlers) but their documentation is very light on details.

Re:Reflex – Web apps in pure Python by wwtdtgotiatl on Wednesday August 02, 2023 @04:55PM (#36977273)
Firefox on android allows you to inspect source.

You need to prefix the url, ie.

    view-source:https://news.ycombinator.com/
Re:Reflex – Web apps in pure Python by ilc on Wednesday August 02, 2023 @05:45PM (#36978072)
If you actually do the demo project thing, you'll find a .web directory, with all the next-js code. :)
Re:Reflex – Web apps in pure Python by apetuskey on Wednesday August 02, 2023 @05:48PM (#36978113)
We do use nextjs but I think what's the most handy part of Reflex is the simplification of state management and event handling so there is more complexity to the framework.