Re: Using Tapestry as BfF for React
Ben Weidig <[email protected]> Sun, 18 Jan 2026 12:42:04 +0100
| Newsgroups | gmane.comp.jakarta.tapestry.devel |
|---|---|
| Message-ID | <CAMa1C33WYE98pZ8+tjgceDhWQCRmgFVkm+01qNgjtvYRM=XhzQ@mail.gmail.com> |
--000000000000f560af0648a810ff Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi there! We are definitely going to finish 5.10 ;-) The next point on the agenda is an RC, as there are a lot of changes, and we don=E2=80=99t want to have to push 5.10.1 directly after. What exactly didn=E2=80=99t you get running? Did you use a snapshot, or build it yourself? If there=E2=80=99s no time pressure, maybe waiting for the RC might be the = best approach. The more people test their special cases with it, the more issues can be fixed before releasing the final 5.10. Cheers Ben On Tue, Jan 13, 2026 at 8:30=E2=80=AFPM Numa Schmeder via dev < [email protected]> wrote: > Hi Peter, > > This is a great idea! I wanted to work on this use case as I use quite > extensively Tapestry in some projects and Nextjs on other projects. > But for heavy backend use I really prefer Tapestry. It avoids streaming > tones of javascript to the frontend. I would really like to tightly > integrate both and get rid of jQuery. Call Tapestry page action listeners > directly from React using helpers, build dynamic forms and components wit= h > react, and synchronise them with Tapestry etc. > > Great work! > > Regards, > > Numa > > > > Le 13 janv. 2026 =C3=A0 09:26, [email protected] a =C3=A9crit : > > > > Hi guys, > > > > there are some scenarios in which Tapestry can be very useful as backen= d > for frontend for React apps, instead of Javascript BfFs as suggested by > React, e.g. nextjs. > > There are many reasons to prefer a java BfF, the main one is reducing o= f > size and complexity of large React SPAs - it is much easier to do while > using a Java BfF (not necessarily Tapestry) then nextjs. > > > > The idea is to build an ESM module from a React node project and use it > in Tapestry as a resource. > > > > You can find here: > > > > https://www.webclient.at/SourceCode#Demo_Application_Sources > > > > how it works with tapestry versions up to 5.9.0 and React 19.1 > > > > As the future Tapestry version 5.10. enables ESM modules directly, I'v > tried to build the same demo with Tapestry head, but I am not able to get > it running. Does it make sense to keep trying? Will the version 5.10 be > finished? > > > > > > You can find here more about the motivation behind this endeavour: > > > > https://www.webclient.at/WebClientExperience#Java_BfF_for_React_Micro > > > > here a simple demo app: > > > > https://www.webclient.at/DemoApp > > > > As long as you are using React version lower than 19, it is possible to > use React UMD modules, in this case you would not necessarily need to > create an ESM module for the React app. > > > > With regards, Peter Skala > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --000000000000f560af0648a810ff--