Posts

Showing posts with the label Knowladge

Redux - Saga

Image
Redux is a state management tool that works as a “centralized store,” which means that it is the only place to access the state.Redux is a light “standalone” JavaScript library, which means it can be used with any UI framework, most frequently, it is used with ReactJS. Redux-Thunk Redux Thunk is a middleware that enables you to call action creators that return functions (thunks) that accept the store's dispatch method as an argument and are then used to dispatch the synchronous action after the API or side effects have ended. Redux-Saga Another middleware library that assists us with API calls or side effects is Redux Saga. Redux Saga makes use of ES6's "Generators" feature, which makes it easier to develop asynchronous code. Redux-saga’s action creator returns an Object while Redux-Thunk action creator returns a Function(thunk). Redux-Saga Data Flow How data flow When a user interacts with the application, an action is dispatched Root Reducer/ Reducer  function is c...

Poson poya day is today...

Image
Sri lankan Buddhists Celebrates Poson Poya Day sri lanka got buddhism   in 236 BC. During that period King Devanampiyatissa( dewana pethis) controled our country. The festival is the most important  Poya  (full moon) holiday of the year and the second most important Buddhist holiday of the year, being surpassed in importance by  Vesak .   Mihindu thero along with Ithtiya,Uththiya, Sambala,Bhadrasala, Sumana Samanera and Bhanduka upasaka came to  Minhinthalae  Stone area . sri lankan buddhist people Celebrate poson poya annually in june month. As well as there  are some Perahara festivals in memory of this poya day.