-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What PHP to JS package is recommended? #116
Comments
Depending on what schema are you going to use to transfer data. In my case,
using GraphQL, I have Lighthouse on the Laravel side, and Apollo on the
other end.
|
In that case you're accessing the data with an AJAX style request. Is that what the guideline is saying to do? I don't think that's very clear. |
@augustjanse when I wrote this, I meant packages like this one (this particular one is very old). There were plenty of those. I guess there are better ways to pass data to front-end in 2021. I haven't worked with front-end for a long time, so I can't help here. I'll keep this issue open so JS guys could share their thoughts about the problem. |
Alright, thanks! The upstream to the fork you linked looks like it is being maintained, so it looks like a reasonably good alternative. I thought it was kind of hard to find information about it, though, so it may still be dubious as a best practice. Interested in hearing from others what they think. A few relevant SE questions: |
The part on getting data to JS says this:
What package would that be?
The text was updated successfully, but these errors were encountered: