GithubHelp home page GithubHelp logo

Comments (5)

marvinhagemeister avatar marvinhagemeister commented on June 11, 2024

There are no plans to change the underlying framework at the moment. What parts of React 19 are you interested in specifically and would like to see in Fresh?

from fresh.

gerabell avatar gerabell commented on June 11, 2024

I am most interested in the new React compiler approach which prevents to use manual, error-prone memoization to speed up rendering/avoid unneeded refreshing. Maybe this would also have an effect on the server to avoid expensive re-calculation.
Apart from that the new โ€žActionsโ€œ approach for submits etc seems interesting.

from fresh.

marvinhagemeister avatar marvinhagemeister commented on June 11, 2024

Signals are an alternative to the React compiler which already work today. They offer even more granular control over when something re-renders compared to what we've seen so far from what has been revealed about the React compiler so far.

The server actions are certainly interesting, but it's more of a next.js feature, not something that comes with React. If Fresh would switch to React there wouldn't be server actions out of the box. It's something that's built on top of React. Whether you build server actions on React or Preact makes no difference in the end.

from fresh.

katungi avatar katungi commented on June 11, 2024

Preact supports using React stuff using compat. Is it possible to opt into compat mode using fresh?
Just curious.

from fresh.

marvinhagemeister avatar marvinhagemeister commented on June 11, 2024

Yes that's possible, see #1395 .

Closing this issue as there are no plans to move to React.

from fresh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.