Code Monkey home page Code Monkey logo

Comments (8)

NuclearInstruments avatar NuclearInstruments commented on May 24, 2024 1

Dear Vivek,
i tested the new version.
Two point:

  1. Version 4.0.4
    Adding AppTheme to App.js has no effect and the theme is always light
    <AppTheme
    scheme={'dark'}
    onColorChange={()=> {}}
    onSchemeChange={()=> {}}

       />
    
  2. If i try to upgrade the version to one greater than 4.0.4 I got

Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.

Check the render method of App.
▶ 22 stack frames were collapsed.
Module.
C:/temp/react-windows-ui-boilerplate/src/index.js:8
5 | import 'react-windows-ui/icons/fonts/fonts.min.css'
6 | import App from './App'
7 |

8 | ReactDOM.render(
9 | <React.StrictMode>
10 |
11 | </React.StrictMode>,

to be sure i started from an empty project fro your last Boilerplate https://github.com/virtualvivek/react-windows-ui-boilerplate.git

Thank you
Andrea

from react-windows-ui.

andreaabba avatar andreaabba commented on May 24, 2024 1

Hi Vivek,
i tested the new release ad it works perfectly. The theme is applied and there is no more error on load.
Thank you very much
Andrea

from react-windows-ui.

NuclearInstruments avatar NuclearInstruments commented on May 24, 2024 1

Sorry I replied with my personal github account. I close now the issue.
Thank You
Andrea

from react-windows-ui.

virtualvivek avatar virtualvivek commented on May 24, 2024

Hi @NuclearInstruments ,

Thankyou soo much for your support!! :)

  1. Do you need some prop to show / hide the switch on navbar ??
  2. Do you need some prop to make navbar show top horizontal instead of Side Start in Desktop mode also??

from react-windows-ui.

virtualvivek avatar virtualvivek commented on May 24, 2024

Hi @NuclearInstruments ,

I will suggest you to check the new published version,
I have improved the navbar and now it only has some major component and other components can add externally.

from react-windows-ui.

virtualvivek avatar virtualvivek commented on May 24, 2024

Hi Andrea aka @NuclearInstruments ,

I have checked in my local machine and you are right AppTheme has no effect on "dark" prop on mount at App.js,

also apologies for -v4.0.5 actually for 4.0.5 i forget to import React from 'react' thats why after 10-15 mins of publishing i had to publish another -v4.0.6 but after i got your response, i am working on both boilerplate and repo, and give me some time to publish a more stable and rightfull version. :)

from react-windows-ui.

virtualvivek avatar virtualvivek commented on May 24, 2024

Hi @NuclearInstruments ,

I have fixed this issue of AppTheme and also updated boilerplate.
This new release removed TransitionToLeft component because new version don't require this component so,
You can check the new release at your side and update me whether this issue needs to be closed.

from react-windows-ui.

virtualvivek avatar virtualvivek commented on May 24, 2024

Hi @andreaabba aka @NuclearInstruments ,

I feel relaxed after listening about improvements in the new release version -v4.0.8
Now i am going to release at github this version too!

No Worries.... No matter from where you replied the thing matter is you replied :)
Thanks for contributing to this project also for the navigation part too!

from react-windows-ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.