-
Notifications
You must be signed in to change notification settings - Fork 347
feat: Create more onelang examples, for real use cases #3361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Added custom hooks for authentication and feed management in customhooks.jac - Created service functions for user authentication, tweet management, and profile handling in service.jac - Configured package.json for project dependencies and scripts - Set up Vite configuration for building and serving the application
for more information, see https://pre-commit.ci
…oots and remove mock user handling
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
- Implemented Zustand state management in Jac with a focus on slices for better state organization. - Created userSlice.jac for user authentication and profile management. - Developed settingsSlice.jac for managing app preferences like theme and notifications. - Added cartSlice.jac to handle shopping cart functionality. - Combined all slices into a single store in store.jac. - Updated app.jac to demonstrate usage of slices in components. - Created README.md to provide an overview and instructions for the example. - Configured Babel and Vite for the project. - Added JavaScript versions of slices for comparison in jsWayStore.
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
… littlex, also copy the sam project to jac -> examples littlex
|
let's move littel x to its Repo basically |
…gement with slices for user, settings, and cart - Added Zustand state management example with extended features. - Created slices for user authentication, app settings, and shopping cart management. - Implemented a combined store to manage state across different slices. - Developed UI components to interact with the state, including user login/logout, theme settings, and cart operations. - Included detailed README documentation for setup and usage instructions. - Added Babel configuration for transpiling the code. - Set up Vite for development and build processes.
for more information, see https://pre-commit.ci
fixing pesky tests i hope (jaseci-labs#3420)
- Implemented a simple counter app using Zustand for state management in Jac. - Created a `store.jac` file to manage the counter state and actions (increment, decrement, reset, setStep). - Developed UI components (`CounterValue`, `CounterControls`, `StepAdjuster`, `StatePreview`) to interact with the store. - Added a README.md to explain the functionality and usage of the counter app. - Included a JavaScript version of Zustand state management for comparison, with separate slices for cart, settings, and user management. - Configured Vite for building and serving the application. - Updated package.json files for both minimal and extended examples to include necessary dependencies and scripts.
for more information, see https://pre-commit.ci
Update CI pipeline (jaseci-labs#3424)
for more information, see https://pre-commit.ci
Feature/broad asset support (jaseci-labs#3402)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@musab-mah-7 I think we need a repo for Jac FE examples where all of these can go, theres also a way you can set up tests in main repo to pull in another repo (something like "jaseci-labs/jac-client-examples") as a submodule. I learned about this from @asottile. They're called "git submodules" you can look that up and see what I mean. @ahzan-dev and @musab-mah-7 see if you can pull out these examples entirely and set it up as a submodule on the testing pathway from the main repo. Does that make sense?
Test case for js side effect style imports (jaseci-labs#3407)
Merge upstream main changes into fork
for more information, see https://pre-commit.ci
…ream-main Merge upstream main - resolve shallow clone and modify/delete conflict
for more information, see https://pre-commit.ci
|
In separate repo. |
Description
feat: Implement complete-littlex example application with custom hooks
feat: Add Zustand state management example with slices
feat: Add React Query example with user management and caching
feat: Add date manipulation examples and configuration files for OneLang