Giter Site home page Giter Site logo

SSR state hydration about bloc.js HOT 3 CLOSED

tim-smart avatar tim-smart commented on May 24, 2024 3
SSR state hydration

from bloc.js.

Comments (3)

felangel avatar felangel commented on May 24, 2024

Hi @tim-smart 👋
Thanks for opening an issue!

I think it's a great idea 👍I'm currently focusing on several issues in the Dart Bloc repo but if you have some time and are willing to open a PR that would be awesome 😄

If not, I'll probably get to this sometime next week because I also have to update the bloc.js API to align with the new 1.0.0 changes in the Dart Bloc API. Let me know if you're able to contribute and thanks for bringing this up! 💯

Edit: I took a look at your repo and if you'd be willing, it would be amazing if you could join as a collaborator and help with the bloc.js development. I could really use the help especially seeing as you have react and vue packages!

from bloc.js.

tim-smart avatar tim-smart commented on May 24, 2024

I have made changes the way my project works - quite different to before.
No longer using a stream of events to cut down on boilerplate and simplify the API.

So I'm going to close this!

from bloc.js.

Tokenyet avatar Tokenyet commented on May 24, 2024

Hey, A lover of flutter and bloc here! Want to share some experience with this project. This project is working as expected, but need some React.Context API to be worked as BlocProvider. It's all fine with SPA, but when I used Nextjs + Bloc.js, and what some SSR feature. Bloc became a bad monster, because the page should be rendered on server, to pass to client, Bloc has no way to sync data :( There is such a obstacle I experienced.

By the way, I still love to use bloc with flutter, and maybe SPA. But for Nextjs(SSR), I think I should go traditional redux way, the idea of store is easy for syncing data on client and server, even If I hate the flow of redux 😝

from bloc.js.

Related Issues (12)

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.