Complete corporate standard React JS boilerplate
Last updated on Jun 14, 2021.
Trying my best to keep the story up-to-date. (react v17.0.1)
Git repo: SAURABH SHAH / ReactJS myapp · GitLab (wip)
Code-sandbox live (playgroud embeded at bottom)
If you like the story, buy me a coffee!
This story will cover all the aspects of a react js web app architecture. If you are creating a new responsive web application using react JS, then follow along.
Our app architecture includes various features. A quick list of few aspects that we will cover is as per fig-1 above and fig-2 below.
What is the difference between a react-native’s boilerplate “Welcome” app and this “Industry standard” app?
I am sure, here you’ll find answer to this question. Then I’ll take you along the journey how to create that industry standard app which will be customer acceptable and ready for deployment.
Main reason is, the getting started app you get after following the steps on “https://reactnative.dev/docs/environment-setup” will not be the one you want to publish on production for yourself or your corporate clients. You will require a name for your application that may contain space “My App” or a corporate bundle identifier…
This story will cover all the aspects of a cross-platform react-native framework based app’s architecture. This can be used for creating a boilerplate for creating your next awesome cross-platform mobile app.
NOTE: For versions of react and other libraries, please refer before and after screenshots of “package.json”.
If you are creating a new application then, the prerequisite will be to create a react-native app using react-native-cli. Please refer to “https://reactnative.dev/docs/environment-setup” for steps to create a basic react native app and run it on emulator/device.
Overview of app architecture…
(redux-persist with redux-toolkit in react)
✓ Implement redux-persist in a react (JS or native) app with redux-toolkit.
✓ You may find documentation and other internet articles for redux-persist implementation with traditional redux (store, Provider, reducer, actions)
✓ If you are using the now recommended redux-toolkit (configureStore, createSlice, Provider), you may not find much help to implement redux-persist.
✓ That’s where this article comes to your rescue.
Sole intention of this story is to learn nested routing.
For React Js app architecture in detail refer:
Nested routing in react can be thought of multiple forward slash in the URL.
✓ lowercase only
✓ kebab-case/for-multi-word-url (use dash and not underscore or camelCase)
✓ For any reason, if you plan to change/rename a url, make sure the old url redirects to the new one. …
Last updated on: Jan 17, 2021.
Material-UI: A popular React UI framework (material-ui.com)
Updated as on: Dec 25, 2020
At the end of this story, you should have a React JS application with all the colors, typography (fonts), spacing, breakpoints, and other styling options set as default through out the website/application.
I desperately wanted to get rid of relative paths like “../../../components/Blah” from most of my react application files.
It makes me uncomfortable to see that in the list of imports.
Make react app code more readable with absolute paths. Get rid of relative paths.
Absolute paths for adding components from where without drilling backwards was my need and achieved it adding “jsconfig.json” file. No npm installation required.
Fortunately this is it. You need to follow simple steps as below enable usage of absolute paths:
jsconfig.jsonfile in the root of your project (next to /index.js …
Hello folks! Today I am going to review OnePlus Bluetooth earphones. I actually don’t like calling it truly wireless as it bears wires. Although, let me share my review/feedback for OnePlus Bullets is positive. I love it! 😍
✓ Two variants in Bullets Z series
✓ Switch control
✓ Features of OnePlus Bullets Z
✓ Price / Cost
✓ Review & Comparison
Simple, I’m a budget user and didn’t want to spend much for a good pair of earphones.
Official webpage with all details & specs.
There are 2 variants of Bullets Wireless Z that are available to…
Ikea India returns policy: https://www.ikea.com/in/en/customer-service/return-policy-for-india-pub7b960a7b
This is the link for return policy of Ikea India. Somehow I wasn’t quite satisfied reading this page.
Don’t like it, return it!
After a few online orders in Mumbai, I once received a broken glass bowl in the delivery. That’s when I went through return policy and was clueless what is the process to file a complaint/refund.
This time I also wanted to return an Item which turned out to be pretty larger in size than I expected.
Only thing I found helpful was Ikea customer service number “18004194532”.
Experience was a bit different…
Solutions architect in IT organization. Experience on wide range of solutions for web and mobile apps with cloud integration.