@artsy/fresnel
capacitor
Our great sponsors
@artsy/fresnel | capacitor | |
---|---|---|
8 | 154 | |
1,209 | 11,126 | |
1.9% | 2.0% | |
7.2 | 9.4 | |
26 days ago | 3 days ago | |
TypeScript | JavaScript | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
@artsy/fresnel
-
Responsive Rendering With SSR
This! If you want to limit double rendering afterwards you could look into something like fresnel to automatically unmount unused breakpoints’ components after hydration.
-
I’ve built two type-safe React hooks that will help you in making your apps more accessible
the SSR default I'm guessing is the fancy one, it feels like due to SSR the most flexible way is to use media queries so it is correct on the first paint. maybe components would be better than hooks, something like https://github.com/artsy/fresnel
-
How to combine React Native Web + responsivity + NextJS SSR, to get SEO
This article is extracted from this github discussion, which goes into greater detail on how to achieve this with the libraries Dripsy (a component design system) and Fresnel (SSR w/ media queries).
-
SSR for multiple breakpoints using React
Also, take a look at a library @artsy/fresnel, which uses a similar approach to solve CLS issues in server-side rendered applications.
-
Magnus UI vs. Dripsy - Chakra UI alternatives for React Native (+Web)
If you want both SSR and RNW, then you are not so lucky. But you can read my research of the options you have, in this discussion: How to combine React Native Web (RNW) + Responsive styles (media queries) + NextJS Server-Side Rendering (SSR), to get SEO on the web. If you don't want to make a compromise like the current options, there is a library called Fresnel, which has some promise to afford this combination. But it is not quite there yet. So please consider contributing to Fresnel in the RNW+NextJS compatibility issue or the useMedia() hook issue, so that Dripsy could be upgraded to use Fresnel again to support SSR.
-
Making Next.js work with react-responsive
Something I starred a while ago: https://github.com/artsy/fresnel
-
How to use ChakraUI on native mobile?
Uses actual CSS breakpoints on web, to become responsive, even when using SSR. Uses Fresnel to achieve this. CSS breakpoints on web will rely on the mobile device's user agent for most cases. But since this can be inaccurate, it also uses pre-emptive server-side breakpoint generation. Basically, if the mobile user-agent cannot be accurately detected, Fresnel renders all media query breakpoints on the server (a bit of extra work for the server, since it might lead to rendering more components). So the client's browser will receive all breakpoints on first render and can immediately start rendering according to the correct ones. Instead of waiting for React to rehydrate before only then running the media queries with CSS-in-JS, which would have given latency and potentially unwanted visual side-effects. This becomes most acute when you are using SSR, and thus don't want to wait for rehydration on the client to start showing the responsively laid out content.
-
Full Stack Quiz Game with NextJS - My Journey
@artsy/fresnel - Lib to create media queries components in JSX.
capacitor
- Capacitor by Ionic – Cross-platform apps with web technology
-
Diving Into Capacitor 6: What’s New, What’s Improved, and How to Upgrade
It should also be mentioned that the official VSCode Ionic Plugin is also capable of migrating your existing application. Capacitor v6 now also supports bun as a package manager.
-
PWAs wont replace native iOS apps
> PWA optionally bundled with some native components for filing the gaps, as in Tauri.
Isn't that essentially Capacitor?
https://capacitorjs.com
-
Svelte Native: The Svelte Mobile Development Experience
Have you experienced slow scrolling issues?
https://github.com/ionic-team/capacitor/issues/4187
-
IWTL coding
Project: Build This Webpage (just this one page, make sure it is responsive (useful on all screen sizes)) => https://capacitorjs.com/
-
What is the easiest industry-standard framework for making plaform-agnostic apps?
Capacitor
-
Building Apps with Tauri and Elixir
For the longest time, building desktop apps was a daunting task to web developers. That is, until technologies like Electron made creating these apps more approachable to a wider audience. Today, we’ve got a wide array of native applications built with solutions like Electron, Tauri, Capacitor, and many more. While these are great solutions, sometimes configuration can be tricky and the applications we create can become somewhat bloated in terms of memory usage.
-
Bare Metal Rust in Android
The traditional alternative to Electon on mobile platforms is Capacitor (which uses the system webview):
https://capacitorjs.com/
(fka Apache Cordova, fka PhoneGap)
-
Getting Started with PayloadCMS & Vue JS
Ionic Framework UI Components are used to build a website and then a mobile application is built using Ionic Capacitor. Ionic UI components are not required but are used for UX. The vue js code presented here will work fine in a separate application.
-
Building a Game with Phaser
Welcome to Part Two of this four-part series on building a mobile game using open source technologies. We'll be using Phaser, along with Ionic, Capacitor, and Vue.
What are some alternatives?
css-modules - Documentation about css-modules
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
react-toastify - React notification made easy 🚀 !
NativeScript - ⚡ Empowering JavaScript with native platform APIs. ✨ Best of all worlds (TypeScript, Swift, Objective C, Kotlin, Java). Use what you love ❤️ Angular, Capacitor, Ionic, React, Solid, Svelte, Vue with: iOS (UIKit, SwiftUI), Android (View, Jetpack Compose), Dart (Flutter) and you name it compatible.
react-native-media-query - Media queries for react-native and react-native-web
react-native - A framework for building native applications using React
chakra-ui - ⚡️ Simple, Modular & Accessible UI Components for your React Applications
Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond
ChatUI - The UI design language and React library for Conversational UI
electron - Deploy your Capacitor apps to Linux, Mac, and Windows desktops, with the Electron platform! 🖥️
zeit-ui-react - A design system for building modern websites and applications.
electron-sveltekit - Electron and SvelteKit integration