Giter Site home page Giter Site logo

Flash of unstyled content about suicrux HOT 6 CLOSED

metnew avatar metnew commented on May 2, 2024
Flash of unstyled content

from suicrux.

Comments (6)

 avatar commented on May 2, 2024 1

Thank you for the response! I had no idea, thank you!

from suicrux.

Metnew avatar Metnew commented on May 2, 2024

Hi, @TheDolo thank you for active participating 👍
But, it's dev mode, where app scripts and styles aren't minified + hot-module-replacement script exists + webpack script exists. If I remember correctly, size of all scripts that are used in development are bigger than 13 Mb, so it's ok that flash of unstyled content exists in development.

from suicrux.

Metnew avatar Metnew commented on May 2, 2024

Also @TheDolo , what do you think about "ui-framework agnostic" fullstack micro-framework based on this starter? Can it be useful?

from suicrux.

 avatar commented on May 2, 2024

It's a good idea in many regards. Semantics was actually a huge plus for me, especially after surveying everything in the React land. Inevitably, I'm going to use something as a base for a UI framework, and not someone's abstraction. I also always mix in other frameworks. In this case, I've chosen Semantics as the base and BlueprintJS for design/typo/etc and other components. After that, I customize away.

I think if it's a matter of you writing the boilerplate for the UI side vs semantic, use semantic as it's top notch for react. I could see you strip out all of the semantic, but what are we left with? Redux/React and a blankish frontend?

I think including a UI framework is fine, it's not to hard to strip/replace. I don't think it extends beyond the scope of this project either. It would if you included a real API server (express or Hapi) and a huge array of boilerplate there, but you don't (which is good!), you focused on getting the frontend and how it interacts with an API in Redux/React fashion right, and making that whole process fast with SSR/WP3 :D (run on sentence)

Small plug for you using https://github.com/mjrussell/redux-auth-wrapper in this project :D
and maybe playing with https://github.com/tonyhb/tectonic
and https://github.com/react-ga/react-ga Google Analytics!

from suicrux.

Metnew avatar Metnew commented on May 2, 2024

@TheDolo thanks man, your feedback really helps. I'm currently working on HMR with SSR + webpack for server-side code. And after a small investigation I realize that it would be cool to make something similar to next.js, but more customizable for every developer.

I agree with you about UI frameworks, but when I started this project it was a small "how-to" example with semantic :) And semantic-ui-react mentions this project as an example on their main page, so I decided to left Semantic in this repo and made one more repo/package.

I recommend you to pull master branch again (or just last 3 commits which are hotfixes). Also, maybe you can find something useful for yourself in "dev" branch: fixed plugins order for production, image bundling using url-loader and some little improvements/deletitions :)
https://github.com/Metnew/react-semantic.ui-starter/tree/dev

from suicrux.

 avatar commented on May 2, 2024

I'm currently working on HMR with SSR + webpack for server-side code. And after a small investigation I realize that it would be cool to make something similar to next.js, but more customizable for every developer.

Heh, Next.js has a lot of magic, rapscallion is nice and light, maybe even look at adding other renders as an option: https://github.com/electrode-io/electrode-react-ssr-caching

I agree with you about UI frameworks, but when I started this project it was a small "how-to" example with semantic :) And semantic-ui-react mentions this project as an example on their main page, so I decided to left Semantic in this repo and made one more repo/package.

It's really surprising to see such a huge framework with so little examples, lot's of responsibility on your part ;D

from suicrux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.