News for hackers. Stuff that matters.
Re:React v16.6.0: lazy, memo and contextType by MapleWalnut on Tuesday October 23, 2018 @10:01PM (#18289102)
I wish there was better story for integrating React with Django, so I can use Django for the simple views and React for the interactive stuff.
Re:React v16.6.0: lazy, memo and contextType by ezarowny on Wednesday October 24, 2018 @12:07AM (#18289648)
I'm likely giving a talk on this exact subject in January (depending on scheduling). If you're curious about the various approaches I've tried, you can reach me at this username in all sorts of places.
Re:React v16.6.0: lazy, memo and contextType by andrewstuart on Tuesday October 23, 2018 @11:09PM (#18289402)
I think you'd use Django REST framework wouldn't you?
Re:React v16.6.0: lazy, memo and contextType by onyeka on Wednesday October 24, 2018 @12:01AM (#18289627)
I recently just started replacing some jQuery functionality with React in a large Django project, using Django-Rest, it's actually been less complicated than I expected.
Re:React v16.6.0: lazy, memo and contextType by root_axis on Tuesday October 23, 2018 @10:56PM (#18289348)
Why can't you just serve up your react js assets like any other js asset when using django?