Comments (8)
Gut feeling tells me to go with React 19.
- finally support for web components
- ecosystem (state management, routing, etc)
- at no risk of going unmaintained like Solid and Vike
@niklas.buchfink what choice would you make?
Web Components vs. React: Making the Switch
from inlang-fink.
has potential impact on our websites too. ideally we have on tech stack choice cc @nils.jacobsen.
PS web components for individual components = great but the lack of app support = bad
from inlang-fink.
Wasn't there a concern about rendering with react. We choose solid because it performs better with the big lists?
from inlang-fink.
Can we already use react 19? It's still in experimental right? Do we know when it gets GA?
from inlang-fink.
@nils.jacobsen yeah but react is getting a compiler now too. aka it will be fast enough. react 19 is in RC, we can start using it IMO
from inlang-fink.
I discussed with Niklas, I think React might be beneficial. Especially the community aspect. While building the website I saw how many little things you need for just deploying a little html website.
from inlang-fink.
Ok, after some research and syncing with @nils.jacobsen, there might be workarounds for some of the issues, but everything takes more time and effort.
The idea of to use Lit was to ease maintenance. If we build workarounds and write much more code with Lit we miss our goal.
React 19 still has some suspense issues that result in long loading times (React 19 and Suspense - A Drama in 3 Acts | TkDodo's blog). If things get to slow, we can thing of adding something like https://million.dev/. Furthermore, we should decide for one state management solution as there are many in the React ecosystem. Keep in mind, the initial load can get big with all the libs and Fink will be our demo app on the phone.
from inlang-fink.
Decision
https://www.loom.com/share/471045efba654d068f5db8aff4333643
- Use react for apps and website
- Use react router for routing
- Use lit for components that should be shared across apps
Why
- Lit is not ready for SPA apps. State management is missing and lack of global styles a bummer.
- React 19 (in RC since 2 months) has full support for web components and performance is not a concern anymore with the new inlang sdk v2. we can filter, paginate, etc on the query level
- React router will get all things from Vike like code-splitting, ssr, static prerendering with v7 via a vite plugin (like VIke) but is vetted and financed by Shopify
from inlang-fink.
Related Issues (20)
- add supported i18n libraries to fink product page HOT 11
- public repo can't be opened HOT 3
- the doc won't let me push changes HOT 4
- Not able to push translations HOT 4
- Show displayNames of language in Fink HOT 1
- Fink doesn't show me the other branches HOT 6
- Why did it add source-code in project dropdown | Fink HOT 3
- searchable projects HOT 1
- search for branches HOT 1
- save last selected project HOT 1
- Make PushException in Fink consistent
- Test issue
- Failed to push changes HOT 2
- forking errors with 404 HOT 1
- Improve workflow conditions based on repo meta infos HOT 4
- focus project selection on project names instead of path/to/inlang.project to reduce cognitive load HOT 1
- Newlines not committed correctly in fink HOT 3
- fink can't open repos anymore HOT 4
- Inconsistent behavior for letter-casing in adding language in Fink and paraglide-init HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from inlang-fink.