How can i use react-strict-dom #22
Replies: 2 comments 2 replies
-
There's a demo here https://github.com/facebook/react-strict-dom/tree/e738ff04c584b5cddb58a535375d4886f4467e38/apps/examples You basically just create a fresh Expo project, then Instead of all the CSS libs and animation libs, you can just use Obviously, it's all in super early development and I'm sure the Meta team is just looking for feedback at this stage, so don't use it on a real app. |
Beta Was this translation helpful? Give feedback.
-
If you want to try on web it's actually pretty easy to get started, you just setup Vite like this: import react from "@vitejs/plugin-react";
import { defineConfig } from "vite";
import styleX from "vite-plugin-stylex";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
react(),
styleX({
importSources: [{
from: "react-strict-dom",
as: "css",
}],
}),
],
}); So you would run |
Beta Was this translation helpful? Give feedback.
-
Hi how can i use react-strict-dom
Beta Was this translation helpful? Give feedback.
All reactions