Skip to content

Conversation

@ahzan-dev
Copy link
Collaborator

@ahzan-dev ahzan-dev commented Nov 14, 2025

Description

feat: Implement complete-littlex example application with custom hooks

  • 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
image image image image

feat: Add Zustand state management example with slices

  • 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.
image image

feat: Add React Query example with user management and caching

image

feat: Add date manipulation examples and configuration files for OneLang

image

ahzan-dev and others added 6 commits November 14, 2025 21:56
- 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
ahzan-dev and others added 7 commits November 17, 2025 13:45
- 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.
@ahzan-dev ahzan-dev changed the title feat: Implement complete-littlex example application with custom hooks feat: Create more onelang examples, for real use cases Nov 17, 2025
@RandiJay96 RandiJay96 linked an issue Nov 18, 2025 that may be closed by this pull request
@musab-mah-7
Copy link
Collaborator

let's move littel x to its Repo basically

ahzan-dev and others added 12 commits November 19, 2025 12:37
…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.
- 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.
Copy link
Contributor

@marsninja marsninja left a 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?

@marsninja
Copy link
Contributor

In separate repo.

@marsninja marsninja closed this Dec 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build something in pure Jac FE (LittleX)

3 participants