-
-
Notifications
You must be signed in to change notification settings - Fork 22
Components #164
Answered
by
Archmonger
danieludokike
asked this question in
Question
Components
#164
-
- Do the components replace the Django view or it's callable on Django's view?
- Can I create a base template with all the statics in terms of SPA and the styles that take place in the .html components?
- Does the reactpy have hooks as does react I want to get the full docs as this sounds like a game changer.
Beta Was this translation helpful? Give feedback.
All reactions
Answered by
Archmonger
Jul 16, 2023
- You need at least one Django view in order to put your component(s) within. Outside of that, you technically can recreate all of your existing HTML templates within ReactPy.
- Yes, you can define your static files in a base Django template, and then use the
extendstemplate tag. - Yes, we currently have replicated all common ReactJS hooks.
Replies: 1 comment
-
- You need at least one Django view in order to put your component(s) within. Outside of that, you technically can recreate all of your existing HTML templates within ReactPy.
- Yes, you can define your static files in a base Django template, and then use the
extendstemplate tag. - Yes, we currently have replicated all common ReactJS hooks.
Beta Was this translation helpful? Give feedback.
All reactions
0 replies
Answer selected by
Archmonger
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment