Comments (6)
I'm not sure what the benefit of using this plugin is. right now we using react-router-dom in order to do routing stuff. and MUI as the main styling. I knew that tailwind is more lightweight but for me my concern it might end up with something like this.
`<div
class="w-16 h-16 rounded text-white bg-black py-1 px-2 m-1 text-sm md:w-32 md:h-32 md:rounded-md md:text-base lg:w-48 lg:h-48 lg:rounded-lg lg:text-lg"
Yikes.
`for me, it is quite harder than the styled component. in term of readability
from fill-you-in-the-blank.
I think the main benefit of vite plugin ssr is Filesystem Routing and it help with SSR and SSG (which I think can become handy in the future)
I suggest tailwind because I see that in code you use inline style, which I think in terms of readability tailwind win. but yeah compare to the styled component that is the matter of preference, do you want your styling to be separated or not.
but this is just a suggestion, thank for your reply !
from fill-you-in-the-blank.
I use MUI with tailwind before, MUI for components and tailwind for styling
from fill-you-in-the-blank.
actually, I'm okay to use tailwind as a styling too. I also think that sx
is not equal to inline style like style={{}}
one of the benefits of this is about sx
can access MUI theme. so when we have design system it will be very easy in term of accessing the theme value.
https://stackoverflow.com/questions/71014390/what-is-the-purpose-of-sx-prop-in-material-ui
from fill-you-in-the-blank.
about the vite plugin. don't we do Client-side rendering? because I didn't use NextJS.
from fill-you-in-the-blank.
I'm kind of a bit out of date in front-end technology so I may ask a lot of stupid questions. mainly I use React on a daily work basis and we still use Webpack, not Vite.
from fill-you-in-the-blank.
Related Issues (6)
- ESLint integration missing in project HOT 1
- Prettier Integration is missing HOT 2
- Change page title HOT 2
- Change favicon HOT 5
- Update README.md 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 fill-you-in-the-blank.