i’m new on React/symfony and i try to build a React App connected to an API i created with Symfony. I can fetch data from the API to show them on a main page, but on my registration form (built with Formik), i can’t send data on submit. I got a 500 internal server error. ..
I’m learning to use webpack Encore I would like to know if it is possible to use the ‘path’ function to call a route via ajax webpack.config.js .setOutputPath (‘public / build /’) .setPublicPath (‘/ build’) .addEntry (‘app’, ‘./assets/js/app.js’) .addEntry (‘ajax’, ‘./assets/js/ajax.js’) I created a second entry which imports all ajax calls ajax.js import ‘bootstrap’; // ..
I try to fetch data from a ManyToMany relations. I found a lot of videos/posts/blogs on the subject, but I can’t make it work (or understand). I need help. SO ! I’ve “Formation” and “Module” class. Each “Formation” can have many “Module” and the opposite too. Expected result I want to get “Formation” array(all)/item(byId) with ..