menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

React Boilerplate

A highly scalable, offline-first foundation with the best DX and a focus on performance and best practices

Channels
Team
Posts
Members
Info

React boilerplate login concept. Anyone please?

I've been looking everywhere and I can't find any step by step tutorial on the right way to add login and authentication using the provided scaffolding tools. Anyone ?

message-simple
0

Need to add custom js files . how can i do this ?

yes i can add by cdn but i want to use another way . can i add it by webpack ?

message-simple
0

How we use useParams() hook in this boilerplate?

i am facing this error while using useParams() hook in my component. react-dom.development.js?61bb:20312 Uncaught TypeError: Object(...) is not a function You can generate this error by cloning this boilerplate and import useParams() in your component and used in component. …

message-simple
0

How to save environment variables ?

I have tried webpack plugin, dot-env package but getting undefined. Is there any thing i am missing ?

message-simple
0

RB4.0 Introduction of Immer.

Hey guys, I notice with the release of 4.0 immutable has been replaced with Immer. The redux-persist doesn't appear to be friendly with it at all. Has anyone come up with a workaround to persist state for the unfortunate who hit back, forward, or refresh while using their apps…

message-simple
25

problem with Redux persist and the latest react boilerplate

I am a big problem when trying to use the two libraries, plus I think the boilerplate behaves differently between different browsers(like chrome ans firefox). is there a generalized walk through to use the two libraries that you guys recommend

message-simple
0

Is There Any Recommendation to Persist State

Do you guys have any recommendations to persist redux state?

message-simple
10

Browser cache

hi I am facing browser caching issue can someone help me

message-simple
0

What is the recommended way to store/cache authentication credentials?

Hey! I am trying to persist the data in my redux store and had bad luck with redux-persist (and redux-offline) with this boilerplate. Are there any recommendations on how to properly cache authentication credentials?

message-simple
0

Unusual behaviour with useEffect in RB4.0

I've got a project that requires a prop called Mode which is global, to be changed when entering a page. So I've set it up as a global in app/reducers.js as a Global State. It's set using in a page that needs to set the mode on entering the page. …

message-simple
2