-
Notifications
You must be signed in to change notification settings - Fork 108
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
Question (for FAQ?) - ease of integration with e.g. jQuery or React #28
Comments
Binding.scala users should follow any instructions that you jQuery plugins required, the same as you manually create DOMs via DHTML API. I used some bootstrap components like |
Feel free to edit FAQ if you find anything that have to be specially taken care |
That's good to know but I'm more worried about integrating with React. Any On Fri, Oct 21, 2016, 11:04 PM 杨博 (Yang Bo) [email protected]
|
I am always worried about integrating any framework with React. 😒 |
OK but if I am to use binding then I need instructions how to use it with React |
…plate/scalafmt-core-3.1.2 Update scalafmt-core to 3.1.2 in template
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
One of the biggest pain points with any new framework is, I need a widget that does X, someone already implemented X, can I use their widget?
For example, with React using jQuery plugins is tricky (see for example http://tech.oyster.com/using-react-and-jquery-together/)
Of course there are already the cross-language issues, e.g. with scala.js you have to write a facade, and until http://scala-lang.org/blog/2016/10/19/scalajs-bundler.html came along there were the issues with using npm modules.
If I could somehow use Binding.scala for the page but throw React components and jQuery plugins inside in places, and/or use Binding.scala inside a React component, it would be a much easier sell (to myself).
I'm guessing that would require lifecycle hooks (similar to using jQuery with React).
It would be nice to have instructions how to achieve this (or at least a FAQ saying it's not possible, if that's the case).
Thanks!
The text was updated successfully, but these errors were encountered: