Re:Show HN: A new open-source library to design PDF using React
by Titou325 on Saturday February 17, 2024 @12:14PM
(#39411295)
It could probably but I believe maintaining these two would probably be more work than accepting the drawbacks. Another advantage of supporting full-fledged React is that (in the near future) we can allow Javascript in the rendering engine, meaning that components can recompute themselves and pull their own data in. We will see where that goes!
Re:Show HN: A new open-source library to design PDF using React
by moritzwarhier on Saturday February 17, 2024 @01:26PM
(#39411971)
Yes, that sounds interesting, and I sincerely hope that a future release of React manages to simplify use cases such as SSG with build-time JS.
Sounds like React JSX rendering while omitting any client-side JS could benefit from forking off React itself, no?
OTOH it's up to the user of course to choose components that do not require client JS and diagnose problems caused by components relying on it.