-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Evaluate if we should use Remix for v2.0 #20
Comments
I have finished the ADR. The ADR can be located here: link to ADR I have also researched how to get MUI and storybook to work. For Material UI you need to use yarn add @mui/material @emotion/react @emotion/styled To install react 19: yarn add react-dom@beta react@beta Here is how the package.json will look: "dependencies": {
//additional dependencies...
"react": "^19.0.0-beta-26f2496093-20240514",
"react-dom": "^19.0.0-beta-26f2496093-20240514"
},
//add overrides to ensure these are the only versions being used
"overrides": {
"react": "^19.0.0-beta-26f2496093-20240514",
"react-dom": "^19.0.0-beta-26f2496093-20240514"
}, For Storybook you can follow these instructions: yarn add --dev @storybook/builder-vite Install storybook: yarn dlx storybook@latest init Example export default {
stories: ['../src/**/*.mdx', '../stories/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
addons: ['@storybook/addon-links', '@storybook/addon-essentials'],
core: {
builder: '@storybook/builder-vite', // 👈 The builder enabled here.
},
framework: {
name: '@storybook/react-vite',
options: {
builder: {
viteConfigPath: 'sb-vite.config.ts',
},
},
}
}; Example import { defineConfig, loadEnv } from 'vite'
import tsconfigPaths from 'vite-tsconfig-paths'
export default defineConfig(({ mode }) => {
const env = loadEnv(mode, process.cwd(), '')
process.env = { ...process.env, ...env }
return {
// no Remix Vite plugin here
plugins: [tsconfigPaths()],
}
}) |
… color for status and add icon for assignees
Context: A production-grade React framework would eliminate the common problems faced when not using a framework. I have narrowed it down to Remix which seems suitable for our purposes.
What is Remix?
Can I use React without a framework?
The text was updated successfully, but these errors were encountered: